Exception: NestedText::Errors::TopLevelTypeMismatchParsedType

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

Instance Method Summary collapse

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