DriverException
class DriverException extends PDOException
Base class for all errors in the driver or SQL server.
Properties
| $queryString | |||
| array|null | $params |
Methods
static DriverException
from(PDOException $src)
Creates a DriverException from a PDOException, preserving error info and stack trace location.
int|string|null
getDriverCode()
Returns the driver-specific error code, or null if not available.
string|null
getSqlState()
Returns the SQLSTATE error code, or null if not available.
string|null
getQueryString()
No description
array|null
getParameters()
No description
Details
at line 27
static DriverException
from(PDOException $src)
Creates a DriverException from a PDOException, preserving error info and stack trace location.
at line 49
int|string|null
getDriverCode()
Returns the driver-specific error code, or null if not available.
at line 58
string|null
getSqlState()
Returns the SQLSTATE error code, or null if not available.
at line 64
string|null
getQueryString()
No description
at line 71
array|null
getParameters()
No description