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