Exception: NestedText::Errors::ParseInlineDictSyntaxError
- Inherits:
-
ParseError
- Object
- StandardError
- NestedText::Error
- InternalError
- ParseError
- NestedText::Errors::ParseInlineDictSyntaxError
- Defined in:
- lib/nestedtext/errors_internal.rb
Instance Attribute Summary
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(line, colno, wrong_char) ⇒ ParseInlineDictSyntaxError
constructor
A new instance of ParseInlineDictSyntaxError.
Constructor Details
#initialize(line, colno, wrong_char) ⇒ ParseInlineDictSyntaxError
Returns a new instance of ParseInlineDictSyntaxError.
77 78 79 |
# File 'lib/nestedtext/errors_internal.rb', line 77 def initialize(line, colno, wrong_char) super(line, line.indentation + colno, "expected ‘,’ or ‘}’, found ‘#{wrong_char}’.") end |