Exception: Cel::NoMatchingOverloadError

Inherits:
EvaluateError show all
Defined in:
lib/cel/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(op) ⇒ NoMatchingOverloadError

Returns a new instance of NoMatchingOverloadError.



47
48
49
50
# File 'lib/cel/errors.rb', line 47

def initialize(op)
  super("No matching overload: #{op}")
  @code = :no_matching_overload
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



45
46
47
# File 'lib/cel/errors.rb', line 45

def code
  @code
end