summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Driver/Exception
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2024-08-13 23:45:21 +0200
committerpolo <ordipolo@gmx.fr>2024-08-13 23:45:21 +0200
commitbf6655a534a6775d30cafa67bd801276bda1d98d (patch)
treec6381e3f6c81c33eab72508f410b165ba05f7e9c /vendor/doctrine/dbal/src/Driver/Exception
parent94d67a4b51f8e62e7d518cce26a526ae1ec48278 (diff)
downloadAppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.zip
VERSION 0.2 doctrine ORM et entités
Diffstat (limited to 'vendor/doctrine/dbal/src/Driver/Exception')
-rw-r--r--vendor/doctrine/dbal/src/Driver/Exception/IdentityColumnsNotSupported.php21
-rw-r--r--vendor/doctrine/dbal/src/Driver/Exception/NoIdentityValue.php21
2 files changed, 42 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
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Driver\Exception;
6
7use Doctrine\DBAL\Driver\AbstractException;
8use Throwable;
9
10/**
11 * @internal
12 *
13 * @psalm-immutable
14 */
15final 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}
diff --git a/vendor/doctrine/dbal/src/Driver/Exception/NoIdentityValue.php b/vendor/doctrine/dbal/src/Driver/Exception/NoIdentityValue.php
new file mode 100644
index 0000000..decbbd5
--- /dev/null
+++ b/vendor/doctrine/dbal/src/Driver/Exception/NoIdentityValue.php
@@ -0,0 +1,21 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Driver\Exception;
6
7use Doctrine\DBAL\Driver\AbstractException;
8use Throwable;
9
10/**
11 * @internal
12 *
13 * @psalm-immutable
14 */
15final class NoIdentityValue extends AbstractException
16{
17 public static function new(?Throwable $previous = null): self
18 {
19 return new self('No identity value was generated by the last statement.', null, 0, $previous);
20 }
21}