Back to SaveExceptionHandler class

Method manages

public bool
manages
(\Exception $e)
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
Returns
  • bool
Since
  • 4.0.0

Method manages - Source code

/**
 * If the exception handler is able to format a response for the provided exception,
 * then the implementation should return true.
 *
 * @param   \Exception  $e  The exception to be handled
 *
 * @return  boolean
 *
 * @since  4.0.0
 */
public function manages(Exception $e)
{
    return $e instanceof Save;
}