Custom Error Handling
You can overwrite the error handling for each request by binding your own instance of a class that implements the ErrorHandlerInterface
.
The default handler looks like this:
Register the new handler
To replace the existing one, add the following to your AppServiceProvider
or a similar provider.
Last updated