class Handler extends Handler

Properties

protected array $dontReport A list of the exception types that are not reported.
protected array $dontFlash A list of the inputs that are never flashed for validation exceptions.

Methods

mixed|void
report(Exception $exception)

No description

Response
render(Request $request, Exception $exception)

Render an exception into an HTTP response.

Response
unauthenticated(Request $request, AuthenticationException $exception)

Convert an authentication exception into an unauthenticated response.

SymfonyResponse
renderExceptionAsJson($request, Exception $exception)

Render an exception into a JSON response

Details

at line 37
mixed|void report(Exception $exception)

Parameters

Exception $exception

Return Value

mixed|void

Exceptions

Exception

at line 49
Response render(Request $request, Exception $exception)

Render an exception into an HTTP response.

Parameters

Request $request
Exception $exception

Return Value

Response

at line 71
protected Response unauthenticated(Request $request, AuthenticationException $exception)

Convert an authentication exception into an unauthenticated response.

Parameters

Request $request
AuthenticationException $exception

Return Value

Response

at line 87
protected SymfonyResponse renderExceptionAsJson($request, Exception $exception)

Render an exception into a JSON response

Parameters

$request
Exception $exception

Return Value

SymfonyResponse