Exception: ChefHelpers::Exceptions::InvalidPasswordError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef_helpers/exceptions.rb

Overview

This exception is raised if a password was generated, but for some reason does not match the password that was supposed to be encrypted.

Instance Method Summary collapse

Instance Method Details

#messageString

Error message specific to the InvalidPasswordError.

Returns:

  • (String)

    The error message.



11
12
13
# File 'lib/chef_helpers/exceptions.rb', line 11

def message
  'The password hash generated did not match the password passed in.'
end