\rex_sql_exception

Summary

Methods
Properties
Constants
__construct()
getSql()
getErrorCode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(mixed  $message, \Exception  $previous = null, \rex_sql  $sql = null) : mixed

Parameters

mixed $message
\Exception $previous
\rex_sql $sql

Returns

mixed —

getSql()

getSql() : null|\rex_sql

Returns

null|\rex_sql —

getErrorCode()

getErrorCode() : ?int

Returns the mysql native error code.

Returns

?int —