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.



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

def initialize(value)
  super("expected 'true' or 'false', got '#{value}'")
end