Class: GraphQL::PersistedQueries::ErrorHandlers::BaseErrorHandler
- Inherits:
-
Object
- Object
- GraphQL::PersistedQueries::ErrorHandlers::BaseErrorHandler
- Defined in:
- lib/graphql/persisted_queries/error_handlers/base_error_handler.rb
Overview
Base class for all error handlers
Direct Known Subclasses
Instance Method Summary collapse
- #call(_error) ⇒ Object
-
#initialize(**_options) ⇒ BaseErrorHandler
constructor
A new instance of BaseErrorHandler.
Constructor Details
#initialize(**_options) ⇒ BaseErrorHandler
Returns a new instance of BaseErrorHandler.
8 |
# File 'lib/graphql/persisted_queries/error_handlers/base_error_handler.rb', line 8 def initialize(**); end |
Instance Method Details
#call(_error) ⇒ Object
10 11 12 |
# File 'lib/graphql/persisted_queries/error_handlers/base_error_handler.rb', line 10 def call(_error) raise NotImplementedError end |