HtmlPageHandler
extends AbstractErrorHandler
in package
Table of Contents
- $priority : int
- $debugMode : bool
- $devMode : bool
- $exception : Exception
- $exceptionName : string
- $request : WebRequest
- __construct() : mixed
- AbstractErrorHandler constructor.
- getExceptionName() : string
- Retrieves the name of the ExceptionHandler.
- handle() : mixed
- Handles rendering of the error based on the format this class is configured for.
- shouldRender() : bool
- Determines if the handler should be considered in the final error resolution to return the error in the designated format.
- setExceptionName() : void
- Sets the ExceptionHandler's name
Properties
$priority
public
int
$priority
= 200
$debugMode
protected
bool
$debugMode
$devMode
protected
bool
$devMode
$exception
protected
Exception
$exception
$exceptionName
protected
string
$exceptionName
$request
protected
WebRequest
$request
Methods
__construct()
AbstractErrorHandler constructor.
public
__construct() : mixed
Return values
mixed —getExceptionName()
Retrieves the name of the ExceptionHandler.
public
getExceptionName() : string
Return values
string —handle()
Handles rendering of the error based on the format this class is configured for.
public
handle(mixed $exception) : mixed
Parameters
- $exception : mixed
Return values
mixed —shouldRender()
Determines if the handler should be considered in the final error resolution to return the error in the designated format.
public
shouldRender() : bool
Return values
bool —setExceptionName()
Sets the ExceptionHandler's name
protected
setExceptionName(Exception $exception) : void
Parameters
- $exception : Exception