Exception: Cel::NoMatchingOverloadError
- Inherits:
-
EvaluateError
- Object
- StandardError
- Error
- EvaluateError
- Cel::NoMatchingOverloadError
- Defined in:
- lib/cel/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(op) ⇒ NoMatchingOverloadError
constructor
A new instance of NoMatchingOverloadError.
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
#code ⇒ Object (readonly)
Returns the value of attribute code.
45 46 47 |
# File 'lib/cel/errors.rb', line 45 def code @code end |