ExceptionHandler
interface ExceptionHandler
Methods
void
bool
void
bool
array
void
afterResponse(callable $callback)
Register a callback to be called after an HTTP error response is rendered.
bool
Details
at line 26
void
report(Throwable $e, array $context = [], string|null $level = null)
Report or log an exception.
at line 31
bool
shouldReport(Throwable $e)
Determine if the exception should be reported.
at line 38
Response
render(Request $request, Throwable $e)
Render an exception into an HTTP response.
at line 43
void
renderForConsole(OutputInterface $output, Throwable $e)
Render an exception to the console.
at line 48
bool
isReporting(Throwable $e)
Determine if a given exception is being reported.
at line 55
array
buildContextForException(Throwable $e)
Create the context for an exception.
at line 60
void
afterResponse(callable $callback)
Register a callback to be called after an HTTP error response is rendered.
at line 16
bool
shouldStopRetries(Throwable $e)
No description