class JsonSQLException extends Exception

This class represents an error raised by JsonSQL.

Methods

__construct(string $message, int $code = 0, Exception $previous = null)

Class constructor

string
__toString()

Returns the string representation of the exception.

Details

at line 44
__construct(string $message, int $code = 0, Exception $previous = null)

Class constructor

Parameters

string $message The Exception message to throw.
int $code The Exception code
Exception $previous The previous exception used for the exception chaining.

at line 54
string __toString()

Returns the string representation of the exception.

Return Value

string The string representation of the exception.