- Defined in:
Raised when the operations that require a password (e.g. retrieving a salted or hashed password) are attempted on a User object that was not created with a password.
Constants inherited from
, , , , , , , , , , ,
Instance Method Summary collapse
#initialize(msg = nil) ⇒ MissingPassword
A new instance of MissingPassword.
Methods inherited from
#initialize(msg = nil) ⇒
Returns a new instance of MissingPassword
24 25 26
# File 'lib/mongo/error/missing_password.rb', line 24 def initialize(msg = nil) super(msg || 'User was created without a password') end