Exception: GQL::Errors::UndefinedRoot
- Inherits:
-
GQL::Error
- Object
- StandardError
- GQL::Error
- GQL::Errors::UndefinedRoot
- Defined in:
- lib/gql/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ UndefinedRoot
constructor
A new instance of UndefinedRoot.
Constructor Details
#initialize ⇒ UndefinedRoot
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 |