jBasicErrorHandler

Error handlers for the framework.

Replace the default PHP error handler

param

error code

param

error message

param

filename where the error appears

param

line number where the error appears

param
package

jelix

Methods

Error handler showing a simple error page Replace the default PHP error handler.

errorHandler(integer $errno, string $errmsg, string $filename, integer $linenum, array $errcontext) 
static

Arguments

$errno

integer

error code

$errmsg

string

error message

$filename

string

filename where the error appears

$linenum

integer

line number where the error appears

$errcontext

array

Exception handler showing a simple error page Replace the default PHP Exception handler

exceptionHandler(\Exception $e) 
static

Arguments

$e

\Exception

the exception object

handleError

handleError( $type,  $code,  $message,  $file,  $line,  $trace) 
static

Arguments

$type

$code

$message

$file

$line

$trace

register

register() 
static

Properties

errorCode

errorCode : 
static

Type(s)

initErrorMessages

initErrorMessages : 
static

Type(s)