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 20
static DriverException
from(DriverException $e)
No description
at line 26
__construct(string $message, string|null $sqlState = null, int $code = 0, SqlLiteral|null $query = null, Throwable|null $previous = null)
No description
at line 38
int
getDriverCode()
deprecated
deprecated use getCode()
No description
at line 44
string|null
getSqlState()
No description
at line 50
SqlLiteral|null
getQuery()
No description
at line 57
string|null
getQueryString()
deprecated
deprecated use getQuery()->getSql()
No description
at line 63
array|null
getParameters()
No description