Pneuma Framework

ErrorHandler
in package
implements ErrorHandlerInterface

Simple CGI implementation.

Table of Contents

Interfaces

ErrorHandlerInterface
Describes ErrorHandler interface.

Properties

$error  : string
$errorDescription  : string
$errorUri  : string
$status  : int
$throwable  : ErrorThrowableDTO|null

Methods

__construct()  : mixed
getApiResponse()  : ResponseInterface
Retrieve API Response.
getHtmlResponse()  : ResponseInterface
Retrieve HTML Response.
getData()  : array<string, mixed>

Properties

$throwable

private ErrorThrowableDTO|null $throwable = null

Methods

__construct()

public __construct([array<string, mixed> $config = [] ]) : mixed
Parameters
$config : array<string, mixed> = []

The configuration.

getData()

private getData() : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results