ErrorHandler
class ErrorHandler implements ErrorHandlerInterface (View source)
Methods
__construct(ResponseService $response_service, RunInterface|null $whoops, boolean $debug = false)
Constructor.
void
register()
Register any necessary error, exception and shutdown handlers.
void
unregister()
Unregister any registered error, exception and shutdown handlers.
ResponseInterface
getResponse(RequestInterface $request, Exception $exception)
Get a response representing the specified exception.
Details
at line 51
__construct(ResponseService $response_service, RunInterface|null $whoops, boolean $debug = false)
Constructor.
at line 61
void
register()
Register any necessary error, exception and shutdown handlers.
at line 71
void
unregister()
Unregister any registered error, exception and shutdown handlers.
at line 144
ResponseInterface
getResponse(RequestInterface $request, Exception $exception)
Get a response representing the specified exception.