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.



77
78
79
# File 'lib/graphql.rb', line 77

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