class Graphiti::Rails::FallbackHandler

Public Instance Methods

formatted_response(content_type, **options) click to toggle source
# File lib/graphiti/rails/exception_handlers.rb, line 48
def formatted_response(content_type, **options)
  if Graphiti::Rails.handled_exception_formats.include?(content_type.to_sym)
    super
  else
    # The nil response will cause the default Rails handler to be used
    nil
  end
end