diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-18 00:08:23 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-18 00:10:03 +0200 |
| commit | 05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch) | |
| tree | cf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/dbal/src/Driver/AbstractException.php | |
| parent | 32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff) | |
| download | AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.gz AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.bz2 AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.zip | |
sortie de vendor du dépôt, oubli dans config-template.ini
Diffstat (limited to 'vendor/doctrine/dbal/src/Driver/AbstractException.php')
| -rw-r--r-- | vendor/doctrine/dbal/src/Driver/AbstractException.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/vendor/doctrine/dbal/src/Driver/AbstractException.php b/vendor/doctrine/dbal/src/Driver/AbstractException.php deleted file mode 100644 index 367fc49..0000000 --- a/vendor/doctrine/dbal/src/Driver/AbstractException.php +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver; | ||
| 6 | |||
| 7 | use Exception as BaseException; | ||
| 8 | use Throwable; | ||
| 9 | |||
| 10 | /** | ||
| 11 | * Abstract base implementation of the {@see DriverException} interface. | ||
| 12 | * | ||
| 13 | * @psalm-immutable | ||
| 14 | */ | ||
| 15 | abstract class AbstractException extends BaseException implements Exception | ||
| 16 | { | ||
| 17 | /** | ||
| 18 | * @param string $message The driver error message. | ||
| 19 | * @param string|null $sqlState The SQLSTATE the driver is in at the time the error occurred, if any. | ||
| 20 | * @param int $code The driver specific error code if any. | ||
| 21 | * @param Throwable|null $previous The previous throwable used for the exception chaining. | ||
| 22 | */ | ||
| 23 | public function __construct( | ||
| 24 | string $message, | ||
| 25 | private readonly ?string $sqlState = null, | ||
| 26 | int $code = 0, | ||
| 27 | ?Throwable $previous = null, | ||
| 28 | ) { | ||
| 29 | parent::__construct($message, $code, $previous); | ||
| 30 | } | ||
| 31 | |||
| 32 | public function getSQLState(): ?string | ||
| 33 | { | ||
| 34 | return $this->sqlState; | ||
| 35 | } | ||
| 36 | } | ||
