Exception: GQL::Errors::RootClassNotSet
- Inherits:
-
GQL::Error
- Object
- RuntimeError
- GQL::Error
- GQL::Errors::RootClassNotSet
- Defined in:
- lib/gql/errors.rb
Instance Attribute Summary
Attributes inherited from GQL::Error
Instance Method Summary collapse
-
#initialize ⇒ RootClassNotSet
constructor
A new instance of RootClassNotSet.
Methods inherited from GQL::Error
Constructor Details
#initialize ⇒ RootClassNotSet
Returns a new instance of RootClassNotSet.
65 66 67 68 69 70 |
# File 'lib/gql/errors.rb', line 65 def initialize msg = "GQL root field class is not set. " msg << "Set it with `GQL.root_class = MyRootField'." super(msg, 121) end |