ErrorHandlerInterface
interface ErrorHandlerInterface (View source)
Methods
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 22
void
register()
Register any necessary error, exception and shutdown handlers.
at line 29
void
unregister()
Unregister any registered error, exception and shutdown handlers.
at line 38
ResponseInterface
getResponse(RequestInterface $request, Exception $exception)
Get a response representing the specified exception.