class Exception extends Exception

dibi common exception.

Methods

__construct($message = '', $code = 0, $sql = null, Exception $previous = null)

Construct a dibi exception.

string
getSql()

No description

string
__toString()

No description

Details

at line 27
__construct($message = '', $code = 0, $sql = null, Exception $previous = null)

Construct a dibi exception.

Parameters

$message
$code
$sql
Exception $previous

at line 38
final string getSql()

No description

Return Value

string

The SQL passed to the constructor

at line 47
string __toString()

No description

Return Value

string

string represenation of exception with SQL command