Exception: NestedText::Errors::ParseInlineListSyntaxError

Inherits:
ParseError show all
Defined in:
lib/nestedtext/errors_internal.rb

Instance Attribute Summary

Attributes inherited from ParseError

#colno, #lineno, #message_raw

Instance Method Summary collapse

Constructor Details

#initialize(line, colno, wrong_char) ⇒ ParseInlineListSyntaxError

Returns a new instance of ParseInlineListSyntaxError.



95
96
97
# File 'lib/nestedtext/errors_internal.rb', line 95

def initialize(line, colno, wrong_char)
  super(line, line.indentation + colno, "expected ‘,’ or ‘]’, found ‘#{wrong_char}’.")
end