Class: Graphiti::Rails::FallbackHandler
- Inherits:
-
ExceptionHandler
- Object
- RescueRegistry::ExceptionHandler
- ExceptionHandler
- Graphiti::Rails::FallbackHandler
- Defined in:
- lib/graphiti/rails/exception_handlers.rb
Instance Method Summary collapse
Methods inherited from ExceptionHandler
Instance Method Details
#formatted_response(content_type, **options) ⇒ Object
48 49 50 51 52 53 54 55 |
# File 'lib/graphiti/rails/exception_handlers.rb', line 48 def formatted_response(content_type, **) 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 |