On this page
ExceptionHandler
interface ExceptionHandler (View source)
Methods
| void | report(Throwable $e) Report or log an exception. |
|
| bool | shouldReport(Throwable $e) Determine if the exception should be reported. |
|
| Response | render(Request $request, Throwable $e) Render an exception into an HTTP response. |
|
| void | renderForConsole(OutputInterface $output, Throwable $e) Render an exception to the console. |
Details
void report(Throwable $e)
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Contracts/Debug/ExceptionHandler.html