ExceptionHandler
interface ExceptionHandler (View source)
Methods
void
bool
void
bool
array<array-key, mixed>
bool
Details
void
report(Throwable $e, array $context = [], string|null $level = null)
Report or log an exception.
bool
shouldReport(Throwable $e)
Determine if the exception should be reported.
void
renderForConsole(OutputInterface $output, Throwable $e)
| internal | This method is not meant to be used or overwritten outside the framework. |
Render an exception to the console.
bool
isReporting(Throwable $e)
Determine if a given exception is being reported.
array<array-key, mixed>
buildContextForException(Throwable $e)
Creates the context for an exception.
bool
shouldStopRetries(Throwable $e)
No description