Class: GraphQL::PersistedQueries::ErrorHandlers::DefaultErrorHandler

Inherits:
BaseErrorHandler
  • Object
show all
Defined in:
lib/graphql/persisted_queries/error_handlers/default_error_handler.rb

Overview

Default error handler for simply re-raising the error

Instance Method Summary collapse

Methods inherited from BaseErrorHandler

#initialize

Constructor Details

This class inherits a constructor from GraphQL::PersistedQueries::ErrorHandlers::BaseErrorHandler

Instance Method Details

#call(error) ⇒ Object



8
9
10
# File 'lib/graphql/persisted_queries/error_handlers/default_error_handler.rb', line 8

def call(error)
  raise error
end