error_handler_jsonoutput

Implements \SYSTEM\LOG\error_handler

Error handler Class provided by System to return the Error as JSON.

Register this Handler as last one

package

SYSTEM\LOG

Methods

Call function to handle exceptions

CALL(\Exception $E, boolean $thrown) : boolean
static

Arguments

$E

\Exception

Thrown Execption to be handled

$thrown

boolean

Was the Exception thrown?

Response

boolean

Returns true or false.