Exception: NestedText::Errors::TopLevelTypeMismatchParsedType
- Inherits:
-
InternalError
- Object
- StandardError
- NestedText::Error
- InternalError
- NestedText::Errors::TopLevelTypeMismatchParsedType
- Defined in:
- lib/nestedtext/errors.rb
Instance Method Summary collapse
-
#initialize(class_exp, class_act) ⇒ TopLevelTypeMismatchParsedType
constructor
A new instance of TopLevelTypeMismatchParsedType.
Constructor Details
#initialize(class_exp, class_act) ⇒ TopLevelTypeMismatchParsedType
Returns a new instance of TopLevelTypeMismatchParsedType.
252 253 254 |
# File 'lib/nestedtext/errors.rb', line 252 def initialize(class_exp, class_act) super("The requested top level class #{class_exp.name} is not the same as the actual parsed top level class #{class_act}.") end |