Exception: Cel::NoMatchingOverloadError
- Inherits:
-
CheckError
- Object
- StandardError
- Error
- CheckError
- 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.
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
#code ⇒ Object (readonly)
Returns the value of attribute code.
22 23 24 |
# File 'lib/cel/errors.rb', line 22 def code @code end |