Exception: GraphQL::RootCallNotDefinedError

Inherits:
Error
  • Object
show all
Defined in:
lib/graphql.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ RootCallNotDefinedError

Returns a new instance of RootCallNotDefinedError.



70
71
72
# File 'lib/graphql.rb', line 70

def initialize(name)
  super("Call '#{name}' was requested but was not found. Defined calls are: #{SCHEMA.call_names}")
end