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.
27 28 29 |
# File 'lib/omnicli/errors.rb', line 27 def initialize(value) super("expected 'true' or 'false', got '#{value}'") end |