Exception: YbDDLParser::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yb_ddl_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, position: nil) ⇒ ParseError

Returns a new instance of ParseError.



11
12
13
14
# File 'lib/yb_ddl_parser.rb', line 11

def initialize(message, position: nil)
  @position = position
  super(message)
end

Instance Attribute Details

#positionObject (readonly)

Returns the value of attribute position.



9
10
11
# File 'lib/yb_ddl_parser.rb', line 9

def position
  @position
end