-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
lib/Doctrine/DBAL/Driver/IBMDB2/Exception/CannotCopyStreamToStream.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Doctrine\DBAL\Driver\IBMDB2\Exception; | ||
|
||
use Doctrine\DBAL\Driver\IBMDB2\DB2Exception; | ||
|
||
/** | ||
* @internal | ||
* | ||
* @psalm-immutable | ||
*/ | ||
final class CannotCopyStreamToStream extends DB2Exception | ||
{ | ||
public static function new(string $message): self | ||
{ | ||
return new self('Could not copy source stream to temporary file: ' . $message); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
lib/Doctrine/DBAL/Driver/IBMDB2/Exception/CannotCreateTemporaryFile.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Doctrine\DBAL\Driver\IBMDB2\Exception; | ||
|
||
use Doctrine\DBAL\Driver\IBMDB2\DB2Exception; | ||
|
||
/** | ||
* @internal | ||
* | ||
* @psalm-immutable | ||
*/ | ||
final class CannotCreateTemporaryFile extends DB2Exception | ||
{ | ||
public static function new(string $message): self | ||
{ | ||
return new self('Could not create temporary file: ' . $message); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
lib/Doctrine/DBAL/Driver/IBMDB2/Exception/CannotWriteToTemporaryFile.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Doctrine\DBAL\Driver\IBMDB2\Exception; | ||
|
||
use Doctrine\DBAL\Driver\IBMDB2\DB2Exception; | ||
|
||
/** | ||
* @internal | ||
* | ||
* @psalm-immutable | ||
*/ | ||
final class CannotWriteToTemporaryFile extends DB2Exception | ||
{ | ||
public static function new(string $message): self | ||
{ | ||
return new self('Could not write string to temporary file: ' . $message); | ||
} | ||
} |