Exception: OmniCli::InvalidBooleanValueError

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

Overview

Raised when an invalid boolean value is encountered

Instance Method Summary collapse

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