Exception: GQL::Errors::InvalidNodeClass

Inherits:
SchemaError show all
Defined in:
lib/gql/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(node_class, super_class) ⇒ InvalidNodeClass

Returns a new instance of InvalidNodeClass.



18
19
20
# File 'lib/gql/errors.rb', line 18

def initialize(node_class, super_class)
  super("#{node_class} must be a subclass of #{super_class}.")
end