class Grape::Middleware::Error
def rescue_handler_for_any_class(klass)
def rescue_handler_for_any_class(klass) return unless klass <= StandardError return unless options[:rescue_all] || options[:rescue_grape_exceptions] options[:all_rescue_handler] || method(:default_rescue_handler) end