ExceptionHandler
interface ExceptionHandler
Methods
bool
void
void
afterResponse(callable $callback)
Register a callback to be called after an HTTP error response is rendered.
void
array()
<array-key, mixed> buildContextForException(\Throwable $e)
bool
bool
Details
at line 24
void
report(Throwable $e)
Report or log an exception.
at line 29
bool
shouldReport(Throwable $e)
Determine if the exception should be reported.
at line 36
Response
render(Request $request, Throwable $e)
Render an exception into an HTTP response.
at line 41
void
renderForConsole(OutputInterface $output, Throwable $e)
Render an exception to the console.
at line 46
void
afterResponse(callable $callback)
Register a callback to be called after an HTTP error response is rendered.
at line 17
void
array()
<array-key, mixed> buildContextForException(\Throwable $e)
at line 17
bool
isReporting(Throwable $e)
No description
at line 17
bool
shouldStopRetries(Throwable $e)
No description