diff options
Diffstat (limited to 'vendor/doctrine/dbal/src/Driver/Exception/IdentityColumnsNotSupported.php')
| -rw-r--r-- | vendor/doctrine/dbal/src/Driver/Exception/IdentityColumnsNotSupported.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/doctrine/dbal/src/Driver/Exception/IdentityColumnsNotSupported.php b/vendor/doctrine/dbal/src/Driver/Exception/IdentityColumnsNotSupported.php new file mode 100644 index 0000000..c904954 --- /dev/null +++ b/vendor/doctrine/dbal/src/Driver/Exception/IdentityColumnsNotSupported.php | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\AbstractException; | ||
| 8 | use Throwable; | ||
| 9 | |||
| 10 | /** | ||
| 11 | * @internal | ||
| 12 | * | ||
| 13 | * @psalm-immutable | ||
| 14 | */ | ||
| 15 | final class IdentityColumnsNotSupported extends AbstractException | ||
| 16 | { | ||
| 17 | public static function new(?Throwable $previous = null): self | ||
| 18 | { | ||
| 19 | return new self('The driver does not support identity columns.', null, 0, $previous); | ||
| 20 | } | ||
| 21 | } | ||
