Exception: GQL::Errors::UndefinedRoot

Inherits:
GQL::Error
  • Object
show all
Defined in:
lib/gql/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeUndefinedRoot

Returns a new instance of UndefinedRoot.



10
11
12
# File 'lib/gql/errors.rb', line 10

def initialize
  super('Root node class is undefined. Define it with `GQL.root_node_class = MyRootNode`.')
end