Exception: NestedText::Errors::ParseCustomClassNotFoundError

Inherits:
ParseError show all
Defined in:
lib/nestedtext/errors.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.



174
175
176
# File 'lib/nestedtext/errors.rb', line 174

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