PATH:
home
/
lab2454c
/
tripvare.com
/
vendor
/
doctrine
/
dbal
/
src
/
Driver
/
PDO
<?php declare(strict_types=1); namespace Doctrine\DBAL\Driver\PDO; use Doctrine\DBAL\Driver\AbstractException; use PDOException; /** * @internal * * @psalm-immutable */ final class Exception extends AbstractException { public static function new(PDOException $exception): self { if ($exception->errorInfo !== null) { [$sqlState, $code] = $exception->errorInfo; } else { $code = $exception->getCode(); $sqlState = null; } return new self($exception->getMessage(), $sqlState, $code, $exception); } }
[+]
..
[+]
SQLite
[+]
MySQL
[-] Connection.php
[edit]
[+]
OCI
[+]
PgSQL
[-] Exception.php
[edit]
[-] Statement.php
[edit]
[-] Result.php
[edit]
[+]
SQLSrv