def catch_error(exception)
      if handler = handler_for_error(exception)
        handler.arity.zero? ? handler.call : handler.call(exception)
        true
      end
    end
def catch_error(exception)
      if handler = handler_for_error(exception)
        handler.arity.zero? ? handler.call : handler.call(exception)
        true
      end
    end
Catches error and finds a handler

 @param [Exception] exception

 @return [Boolean]
   true if handler is found, nil otherwise

 @api public