DriverException
class DriverException extends Exception
Base class for all errors in the driver or SQL server.
Methods
static DriverException
__construct(string $message, string|null $sqlState = null, int $code = 0, SqlLiteral|null $query = null, Throwable|null $previous = null)
No description
int
string|null
getSqlState()
No description
SqlLiteral|null
getQuery()
No description
string|null
array|null
getParameters()
No description
Details
at line 18
static DriverException
from(DriverException $e)
No description
at line 24
__construct(string $message, string|null $sqlState = null, int $code = 0, SqlLiteral|null $query = null, Throwable|null $previous = null)
No description
at line 36
int
getDriverCode()
deprecated
deprecated
No description
at line 42
string|null
getSqlState()
No description
at line 48
SqlLiteral|null
getQuery()
No description
at line 55
string|null
getQueryString()
deprecated
deprecated
No description
at line 61
array|null
getParameters()
No description