Documentation

rex_sql_could_not_connect_exception extends rex_sql_exception
in package

Exception class when redaxo is unable to connect to the database.

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 ]) : mixed
Parameters
$message : string
$previous : Exception|null = null

getErrorCode()

Returns the mysql native error code.

public getErrorCode() : int|null
Return values
int|null

getSql()

public getSql() : rex_sql|null
Return values
rex_sql|null

        
On this page

Search results