Exception: GQL::Errors::InvalidClass
- Inherits:
-
GQL::Error
- Object
- RuntimeError
- GQL::Error
- GQL::Errors::InvalidClass
- Defined in:
- lib/gql/errors.rb
Instance Attribute Summary
Attributes inherited from GQL::Error
Instance Method Summary collapse
-
#initialize(klass, baseclass) ⇒ InvalidClass
constructor
A new instance of InvalidClass.
Methods inherited from GQL::Error
Constructor Details
#initialize(klass, baseclass) ⇒ InvalidClass
Returns a new instance of InvalidClass.
74 75 76 77 78 |
# File 'lib/gql/errors.rb', line 74 def initialize(klass, baseclass) msg = "#{klass} must be a (subclass of) #{baseclass}." super(msg, 123) end |