Documentation

Handler extends Handler
in package

Table of Contents

$dontFlash  : array<int, string>
A list of the inputs that are never flashed for validation exceptions.
$dontReport  : array<int, class-string<\Throwable>>
A list of the exception types that are not reported.
$levels  : mixed
A list of exception types with their corresponding custom log levels.
render()  : Response
Render an exception into an HTTP response.

Properties

$dontFlash

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

protected array<int, string> $dontFlash = ['current_password', 'password', 'password_confirmation', 'api_token']

$dontReport

A list of the exception types that are not reported.

protected array<int, class-string<\Throwable>> $dontReport = []

$levels

A list of exception types with their corresponding custom log levels.

protected mixed $levels = []

array<class-string<\Throwable>, \Psr\Log\LogLevel::*>

Methods

render()

Render an exception into an HTTP response.

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

Search results