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 |
errorHandler(integer $errno, string $errmsg, string $filename, integer $linenum, array $errcontext)
integererror code
stringerror message
stringfilename where the error appears
integerline number where the error appears
array
exceptionHandler(\Exception $e)
\Exceptionthe exception object
handleError( $type, $code, $message, $file, $line, $trace)
register()
errorCode :
initErrorMessages :