Exception: OmniCli::InvalidIntegerValueError

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

Overview

Raised when an invalid integer value is encountered

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ InvalidIntegerValueError

Returns a new instance of InvalidIntegerValueError.



27
28
29
# File 'lib/omnicli/errors.rb', line 27

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