Exception: NestedText::Errors::ParseLineTagUnknownError
- Inherits:
-
ParseError
- Object
- StandardError
- NestedText::Error
- InternalError
- ParseError
- NestedText::Errors::ParseLineTagUnknownError
- Defined in:
- lib/nestedtext/errors_internal.rb
Instance Attribute Summary
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(line, tag) ⇒ ParseLineTagUnknownError
constructor
A new instance of ParseLineTagUnknownError.
Constructor Details
#initialize(line, tag) ⇒ ParseLineTagUnknownError
Returns a new instance of ParseLineTagUnknownError.
72 73 74 |
# File 'lib/nestedtext/errors_internal.rb', line 72 def initialize(line, tag) super(line, line.indentation, "The Line tag #{tag} is not among the allowed ones #{Line::ALLOWED_LINE_TAGS}") end |