Exception: Platform::IEL::SexpParser::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/introhive_expression_language/iel/sexp_parser.rb

Direct Known Subclasses

UnexpectedTokenError

Instance Method Summary collapse

Constructor Details

#initialize(message, source = nil) ⇒ ParseError

Returns a new instance of ParseError.



5
6
7
8
# File 'lib/introhive_expression_language/iel/sexp_parser.rb', line 5

def initialize(message, source = nil)
  @source = source
  super("#{message}#{source.nil? ? '' : " at #{source}"}")
end