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