class DriverException extends Exception

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

Methods

__construct(string $message = '', $code = 0, Throwable|null $previous = null)

No description

void
setDriverCode(string $state, int|string $code)

No description

int|string|null
getDriverCode()

No description

string|null
getSqlState()

No description

Details

at line 22
__construct(string $message = '', $code = 0, Throwable|null $previous = null)

No description

Parameters

string $message
$code
Throwable|null $previous

at line 34
void setDriverCode(string $state, int|string $code)

internal  
 

No description

Parameters

string $state
int|string $code

Return Value

void

at line 41
int|string|null getDriverCode()

No description

Return Value

int|string|null

at line 47
string|null getSqlState()

No description

Return Value

string|null