Exception: NestedText::Errors::ParseCustomClassNotFoundError

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

Instance Attribute Summary

Attributes inherited from ParseError

#colno, #lineno, #message_raw

Instance Method Summary collapse

Constructor Details

#initialize(line, class_name) ⇒ ParseCustomClassNotFoundError

Returns a new instance of ParseCustomClassNotFoundError.



170
171
172
# File 'lib/nestedtext/errors_internal.rb', line 170

def initialize(line, class_name)
  super(line, line.indentation, "Detected an encode custom class #{class_name} however we can't find it, so it can't be deserialzied.")
end