Class: JustimmoClient::Errors::InvalidValue
- Inherits:
-
OptionParserError
- Object
- JustimmoClient::Errors::InvalidValue
- Defined in:
- lib/justimmo_client/errors.rb
Overview
Raised when the option parser rejects a value
Instance Method Summary collapse
-
#initialize(value) ⇒ InvalidValue
constructor
A new instance of InvalidValue.
Constructor Details
#initialize(value) ⇒ InvalidValue
Returns a new instance of InvalidValue.
36 37 38 |
# File 'lib/justimmo_client/errors.rb', line 36 def initialize(value) super "'#{value}' is not in the list of accepted values" end |