Exception: NestedText::Errors::TopLevelTypeMismatchParsedTypeError

Inherits:
InternalError show all
Defined in:
lib/nestedtext/errors_internal.rb

Instance Method Summary collapse

Constructor Details

#initialize(class_exp, class_act) ⇒ TopLevelTypeMismatchParsedTypeError

Returns a new instance of TopLevelTypeMismatchParsedTypeError.



270
271
272
273
# File 'lib/nestedtext/errors_internal.rb', line 270

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