Exception: Platform::IEL::EvaluationError

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

Instance Method Summary collapse

Constructor Details

#initialize(message, node = Platform::IEL::SexpParser::Node.nil) ⇒ EvaluationError

Returns a new instance of EvaluationError.



4
5
6
# File 'lib/introhive_expression_language/iel/evaluation_error.rb', line 4

def initialize(message, node = Platform::IEL::SexpParser::Node.nil)
  super "#{message}#{node.try(:source_desc)}"
end