class DriverException extends PDOException

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

Properties

string $queryString

Methods

static DriverException
from(PDOException $src)

No description

int|string|null
getDriverCode()

No description

string|null
getSqlState()

No description

string|null
getQueryString()

No description

Details

at line 23
static DriverException from(PDOException $src)

No description

Parameters

PDOException $src

Return Value

DriverException

at line 41
int|string|null getDriverCode()

No description

Return Value

int|string|null

Driver-specific error code

at line 50
string|null getSqlState()

No description

Return Value

string|null

SQLSTATE error code

at line 59
string|null getQueryString()

No description

Return Value

string|null

SQL command