Exception: NestedText::Errors::TopLevelTypeMismatchParsedTypeError
- Inherits:
-
InternalError
- Object
- StandardError
- NestedText::Error
- InternalError
- NestedText::Errors::TopLevelTypeMismatchParsedTypeError
- Defined in:
- lib/nestedtext/errors.rb
Instance Method Summary collapse
-
#initialize(class_exp, class_act) ⇒ TopLevelTypeMismatchParsedTypeError
constructor
A new instance of TopLevelTypeMismatchParsedTypeError.
Constructor Details
#initialize(class_exp, class_act) ⇒ TopLevelTypeMismatchParsedTypeError
Returns a new instance of TopLevelTypeMismatchParsedTypeError.
250 251 252 |
# File 'lib/nestedtext/errors.rb', line 250 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 |