Exception: LcpRuby::Search::QueryLanguageParser::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lcp_ruby/search/query_language_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, position:) ⇒ ParseError

Returns a new instance of ParseError.



7
8
9
10
# File 'lib/lcp_ruby/search/query_language_parser.rb', line 7

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

Instance Attribute Details

#positionObject (readonly)

Returns the value of attribute position.



5
6
7
# File 'lib/lcp_ruby/search/query_language_parser.rb', line 5

def position
  @position
end