\App\ExceptionsHandler

Summary

Methods
Properties
Constants
report()
render()
No public properties found
No constants found
unauthenticated()
$dontReport
N/A
No private methods found
No private properties found
N/A

Properties

$dontReport

$dontReport : array

A list of the exception types that should not be reported.

Type

array

Methods

report()

report(\Exception  $exception) : void

Report or log an exception.

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

Parameters

\Exception $exception

render()

render(\Illuminate\Http\Request  $request, \Exception  $exception) : \Illuminate\Http\Response

Render an exception into an HTTP response.

Parameters

\Illuminate\Http\Request $request
\Exception $exception

Returns

\Illuminate\Http\Response

unauthenticated()

unauthenticated(\Illuminate\Http\Request  $request, \Illuminate\Auth\AuthenticationException  $exception) : \Illuminate\Http\Response

Convert an authentication exception into an unauthenticated response.

Parameters

\Illuminate\Http\Request $request
\Illuminate\Auth\AuthenticationException $exception

Returns

\Illuminate\Http\Response