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