Exception: NestedText::Errors::ParseCustomClassNoCreateMethod
- Inherits:
-
ParseError
- Object
- StandardError
- NestedText::Error
- InternalError
- ParseError
- NestedText::Errors::ParseCustomClassNoCreateMethod
- Defined in:
- lib/nestedtext/errors.rb
Instance Attribute Summary
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(line, class_name) ⇒ ParseCustomClassNoCreateMethod
constructor
A new instance of ParseCustomClassNoCreateMethod.
Constructor Details
#initialize(line, class_name) ⇒ ParseCustomClassNoCreateMethod
Returns a new instance of ParseCustomClassNoCreateMethod.
181 182 183 |
# File 'lib/nestedtext/errors.rb', line 181 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 |