Snaju Inception Docs

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

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 abstract handle(Exception $exception) : mixed
Parameters
$exception : Exception
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 abstract shouldRender() : bool
Return values
bool

setExceptionName()

Sets the ExceptionHandler's name

protected setExceptionName(Exception $exception) : void
Parameters
$exception : Exception
Return values
void

Search results