Properties

$logId

$logId : 

Type

$dontReport

$dontReport : array

A list of the exception types that are not reported.

Type

array

$dontFlash

$dontFlash : array

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

Type

array

Methods

getLogId()

getLogId() : mixed

Returns

mixed

setLogId()

setLogId(mixed  $logId) 

Parameters

mixed $logId

report()

report(\Throwable  $exception) : void

Report or log an exception.

Parameters

\Throwable $exception

Throws

\Exception|\Throwable

render()

render(\Illuminate\Http\Request  $request, \Throwable  $exception) : \Symfony\Component\HttpFoundation\Response

Render an exception into an HTTP response.

Parameters

\Illuminate\Http\Request $request
\Throwable $exception

Throws

\Throwable

Returns

\Symfony\Component\HttpFoundation\Response

isUnauthorizedHttpException()

isUnauthorizedHttpException(\Throwable  $exception) : boolean

UnauthorizedHttpException

Parameters

\Throwable $exception

Returns

boolean

isValidationException()

isValidationException(\Throwable  $exception) : boolean

ValidationException

Parameters

\Throwable $exception

Returns

boolean

isAuthorizationException()

isAuthorizationException(\Throwable  $exception) : boolean

AuthorizationException

Parameters

\Throwable $exception

Returns

boolean

isThrottleRequestsException()

isThrottleRequestsException(\Throwable  $exception) : boolean

ThrottleRequestsException

Parameters

\Throwable $exception

Returns

boolean

isNotFoundHttpException()

isNotFoundHttpException(\Throwable  $exception) 

Parameters

\Throwable $exception

isMethodNotAllowedHttpException()

isMethodNotAllowedHttpException(\Throwable  $exception) 

Parameters

\Throwable $exception

isSuspiciousOperationException()

isSuspiciousOperationException(\Throwable  $exception) 

Parameters

\Throwable $exception

isMaintenanceModeException()

isMaintenanceModeException(\Throwable  $exception) 

Parameters

\Throwable $exception

exceptionError()

exceptionError(\Throwable  $exception) 

Parameters

\Throwable $exception

context()

context() : array

定义默认的环境变量

Returns

array