rex_sql_exception
extends rex_exception
in package
Table of Contents
Methods
- __construct() : mixed
- getErrorCode() : int|null
- Returns the mysql native error code.
- getSql() : rex_sql|null
Methods
__construct()
public
__construct(string $message[, Exception|null $previous = null ][, rex_sql|null $sql = null ]) : mixed
Parameters
- $message : string
- $previous : Exception|null = null
- $sql : rex_sql|null = null
getErrorCode()
Returns the mysql native error code.
public
getErrorCode() : int|null
Return values
int|nullgetSql()
public
getSql() : rex_sql|null