class DriverException extends PDOException

Base class for all errors in the driver or SQL server.

Properties

string $queryString
array $params

Methods

static DriverException
from(PDOException $src)

No description

int|string|null
getDriverCode()

No description

string|null
getSqlState()

No description

string|null
getQueryString()

No description

array|null
getParameters()

No description

Details

at line 28
static DriverException from(PDOException $src)

Parameters

PDOException $src

Return Value

DriverException

at line 48
int|string|null getDriverCode()

Return Value

int|string|null Driver-specific error code

at line 54
string|null getSqlState()

Return Value

string|null

at line 60
string|null getQueryString()

Return Value

string|null

at line 66
array|null getParameters()

Return Value

array|null