Menu

## XmlResponseHandler extends AbstractErrorHandler
in package

XmlResponseHandler.php : 5

### 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

XmlResponseHandler.php : 8
`public int $priority = 300`

#### $debugMode

AbstractErrorHandler.php : 15
`protected bool $debugMode`

#### $devMode

AbstractErrorHandler.php : 14
`protected bool $devMode`

#### $exception

AbstractErrorHandler.php : 12
`protected Exception $exception`

#### $exceptionName

AbstractErrorHandler.php : 13
`protected string $exceptionName`

#### $request

AbstractErrorHandler.php : 11
`protected WebRequest $request`

### Methods

#### __construct()

AbstractErrorHandler.php : 35

AbstractErrorHandler constructor.

`public __construct() : mixed`

##### Return values

mixed —

#### getExceptionName()

AbstractErrorHandler.php : 56

Retrieves the name of the ExceptionHandler.

`public getExceptionName() : string`

##### Return values

string —

#### handle()

XmlResponseHandler.php : 19

Handles rendering of the error based on the format this class is configured for.

`public handle(Exception $exception) : mixed`

##### Parameters

$exception : Exception

##### Return values

mixed —

#### shouldRender()

XmlResponseHandler.php : 10

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()

AbstractErrorHandler.php : 47

Sets the ExceptionHandler's name

`protected setExceptionName(Exception $exception) : void`

##### Parameters

$exception : Exception

##### Return values

void —

## Search results