Documentation

Handler extends Handler

Table of Contents

$dontFlash  : array<string|int, mixed>
A list of the inputs that are never flashed for validation exceptions.
$dontReport  : array<string|int, mixed>
A list of the exception types that are not reported.
render()  : Response|JsonResponse
Render an exception into an HTTP response.
report()  : void
Report or log an exception.

Properties

$dontFlash

A list of the inputs that are never flashed for validation exceptions.

protected array<string|int, mixed> $dontFlash = ['password', 'password_confirmation']

$dontReport

A list of the exception types that are not reported.

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

Methods

render()

Render an exception into an HTTP response.

public render(Request $request, Throwable $exception) : Response|JsonResponse
Parameters
$request : Request
$exception : Throwable
Tags
throws
Throwable
Return values
Response|JsonResponse

report()

Report or log an exception.

public report(Throwable $exception) : void
Parameters
$exception : Throwable
Tags
throws
Exception
Return values
void

Search results