Exception: OmniCli::InvalidFloatValueError
- Inherits:
-
InvalidValueError
- Object
- StandardError
- Error
- InvalidValueError
- OmniCli::InvalidFloatValueError
- Defined in:
- lib/omnicli/errors.rb
Overview
Raised when an invalid float value is encountered
Instance Method Summary collapse
-
#initialize(value) ⇒ InvalidFloatValueError
constructor
A new instance of InvalidFloatValueError.
Constructor Details
#initialize(value) ⇒ InvalidFloatValueError
Returns a new instance of InvalidFloatValueError.
41 42 43 |
# File 'lib/omnicli/errors.rb', line 41 def initialize(value) super("expected float, got '#{value}'") end |