Exception: Cel::NoMatchingOverloadError

Inherits:
CheckError 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.



24
25
26
27
# File 'lib/cel/errors.rb', line 24

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

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



22
23
24
# File 'lib/cel/errors.rb', line 22

def code
  @code
end