Tsugi

ExceptionHandler
in package

Exception handler for the Application

Table of Contents

Properties

$dontReport  : array<string|int, mixed>
Exceptions that should not be reported.

Methods

pleaseDontReport()  : void
Indicate an exception that should not be reported
render()  : Response
Render an exception into an HTTP response.

Properties

$dontReport

Exceptions that should not be reported.

protected array<string|int, mixed> $dontReport = []

Methods

pleaseDontReport()

Indicate an exception that should not be reported

public pleaseDontReport(string $type) : void
Parameters
$type : string

render()

Render an exception into an HTTP response.

public render(Request $request, Throwable $e) : Response
Parameters
$request : Request
$e : Throwable
Tags
throws
Exception
Return values
Response

        
On this page

Search results