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(Exception $exception)

Get a response representing the specified exception.

Details

void register()

Register any necessary error, exception and shutdown handlers.

Return Value

void

void unregister()

Unregister any registered error, exception and shutdown handlers.

Return Value

void

ResponseInterface getResponse(Exception $exception)

Get a response representing the specified exception.

Parameters

Exception $exception

Return Value

ResponseInterface