ErrorHandler
class ErrorHandler extends ErrorHandler
System Error Handler Handles application exception events.
Based on: october\ErrorHandler
Properties
static protected mixed | $activeMask | from ErrorHandler | |
static protected array | $maskLayers | from ErrorHandler |
Methods
Returns a more descriptive error message if application debug mode is turned on.
We are about to display an error page to the user, provide an opportunity to handle extra functions.
Looks up an error page using the route "/error". If the route does not exist, this function will use the error view found in the MAIN app.
Displays the detailed system exception page.
Details
in
ErrorHandler at line 27
handleException(Throwable $proposedException)
No description
in
ErrorHandler at line 76
static void
applyMask(Exception $exception)
Prepares a mask exception to be used when any exception fires.
in
ErrorHandler at line 89
static void
removeMask()
Destroys the prepared mask by applyMask()
in
ErrorHandler at line 105
static string
getDetailedMessage(Exception $exception)
Returns a more descriptive error message if application debug mode is turned on.
at line 23
void
beforeHandleError($exception)
We are about to display an error page to the user, provide an opportunity to handle extra functions.
at line 35
mixed
handleCustomError()
Looks up an error page using the route "/error". If the route does not exist, this function will use the error view found in the MAIN app.
at line 71
View
handleDetailedError($exception)
Displays the detailed system exception page.