Exception: NestedText::Errors::ParseCustomClassNoCreateMethodError
- Inherits:
-
ParseError
- Object
- StandardError
- NestedText::Error
- InternalError
- ParseError
- NestedText::Errors::ParseCustomClassNoCreateMethodError
- Defined in:
- lib/nestedtext/errors_internal.rb
Instance Attribute Summary
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(line, class_name) ⇒ ParseCustomClassNoCreateMethodError
constructor
A new instance of ParseCustomClassNoCreateMethodError.
Constructor Details
#initialize(line, class_name) ⇒ ParseCustomClassNoCreateMethodError
Returns a new instance of ParseCustomClassNoCreateMethodError.
176 177 178 |
# File 'lib/nestedtext/errors_internal.rb', line 176 def initialize(line, class_name) super(line, line.indentation, "Detected an encode custom class #{class_name} but it does not have a #nt_create method, so it can't be deserialzied.") end |