Exception: OmniCli::InvalidFloatValueError

Inherits:
InvalidValueError show all
Defined in:
lib/omnicli/errors.rb

Overview

Raised when an invalid float value is encountered

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ InvalidFloatValueError

Returns a new instance of InvalidFloatValueError.



34
35
36
# File 'lib/omnicli/errors.rb', line 34

def initialize(value)
  super("expected float, got '#{value}'")
end