Exception: GraphQL::RootCallNotDefinedError

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

Overview

The root call of this query isn’t in the schema.

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ RootCallNotDefinedError

Returns a new instance of RootCallNotDefinedError.



92
93
94
# File 'lib/graphql.rb', line 92

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