class Exception extends Exception

dibi common exception.

Methods

__construct($message = '', $code = 0, $sql = NULL)

Construct a dibi exception.

string
getSql()

No description

string
__toString()

No description

Details

at line 26
__construct($message = '', $code = 0, $sql = NULL)

Construct a dibi exception.

Parameters

$message
$code
$sql

at line 37
final string getSql()

No description

Return Value

string

The SQL passed to the constructor

at line 46
string __toString()

No description

Return Value

string

string represenation of exception with SQL command