Exception: GQL::Errors::UndefinedRoot
- Inherits:
-
SchemaError
- Object
- StandardError
- GQL::Error
- SchemaError
- 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
12 13 14 |
# File 'lib/gql/errors.rb', line 12 def initialize super('No root node class is known to the schema. Assign it with `GQL::Schema.root = MyRootNode`.') end |