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)

No description

Parameters

PDOException $src

Return Value

DriverException

at line 50
int|string|null getDriverCode()

No description

Return Value

int|string|null

Driver-specific error code

at line 56
string|null getSqlState()

No description

Return Value

string|null

at line 62
string|null getQueryString()

No description

Return Value

string|null

at line 68
array|null getParameters()

No description

Return Value

array|null