class Handler extends Handler

Class Handler

Methods

void
report(Exception $exception)

Report or log an exception.

JsonResponse
render(Request $request, Exception $exception)

Render an exception into an HTTP response.

Details

at line line 39
void report(Exception $exception)

Report or log an exception.

This is a great spot to send exceptions to Sentry, Bugsnag, etc.

Parameters

Exception $exception

Return Value

void

at line line 52
JsonResponse render(Request $request, Exception $exception)

Render an exception into an HTTP response.

Parameters

Request $request
Exception $exception

Return Value

JsonResponse