Since: 4.0.0

class SaveExceptionHandler implements ExceptionHandlerInterface

Handler for invalid checkin/checkout exceptions

Methods

bool
manages(Exception $e)

If the exception handler is able to format a response for the provided exception, then the implementation should return true.

ResponseBag
handle(Exception $e)

Handle the provided exception.

Details

bool manages(Exception $e)

Since: 4.0.0

If the exception handler is able to format a response for the provided exception, then the implementation should return true.

Parameters

Exception $e

The exception to be handled

Return Value

bool

ResponseBag handle(Exception $e)

Since: 4.0.0

Handle the provided exception.

Parameters

Exception $e

The exception being handled

Return Value

ResponseBag