Documentation

GenericLogicalException extends ReporterException
in package

Table of Contents

code  = 0
$data  : array<string|int, mixed>
$errorKey  : string
The codified error key, if exists
$httpResponseCode  : int
The HTTP Response Code to return
__construct()  : mixed
getData()  : array<string|int, mixed>
getErrorKey()  : string
getHttpResponseCode()  : int
render()  : Response
Render the exception into an HTTP response.
report()  : bool|null
Report the exception.

Constants

Properties

$httpResponseCode

The HTTP Response Code to return

private int $httpResponseCode

Methods

__construct()

public __construct(string $message) : mixed
Parameters
$message : string
Return values
mixed

getData()

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getHttpResponseCode()

public getHttpResponseCode() : int
Return values
int

render()

Render the exception into an HTTP response.

public render(Request $request) : Response
Parameters
$request : Request
Return values
Response

report()

Report the exception.

public report() : bool|null
Return values
bool|null

Search results