Exception: GQL::Errors::InvalidNodeClass
- Inherits:
-
GQL::Error
- Object
- StandardError
- GQL::Error
- GQL::Errors::InvalidNodeClass
- Defined in:
- lib/gql/errors.rb
Instance Attribute Summary
Attributes inherited from GQL::Error
Instance Method Summary collapse
-
#initialize(node_class, super_class) ⇒ InvalidNodeClass
constructor
A new instance of InvalidNodeClass.
Methods inherited from GQL::Error
Constructor Details
#initialize(node_class, super_class) ⇒ InvalidNodeClass
Returns a new instance of InvalidNodeClass.
65 66 67 68 69 |
# File 'lib/gql/errors.rb', line 65 def initialize(node_class, super_class) msg = "#{node_class} must be a (subclass of) #{super_class}." super(msg, 121) end |