Elgg
Version 6.1
|
Handler for uncaught exceptions. More...
Public Member Functions | |
__invoke (\Throwable $exception) | |
Intercepts, logs, and displays uncaught exceptions. More... | |
Handler for uncaught exceptions.
Definition at line 19 of file ExceptionHandler.php.
Elgg\Application\ExceptionHandler::__invoke | ( | \Throwable | $exception | ) |
Intercepts, logs, and displays uncaught exceptions.
To use a viewtype other than failsafe, create the views: <viewtype>/messages/exceptions/admin_exception <viewtype>/messages/exceptions/exception See the json viewtype for an example.
\Throwable | $exception | The exception/error being handled |
Definition at line 39 of file ExceptionHandler.php.