- 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 Attribute Summary
Attributes included from
Instance Method Summary collapse
#initialize(msg = nil) ⇒ MissingPassword
A new instance of MissingPassword.
Methods inherited from
, , , , ,
Methods included from
#initialize(msg = nil) ⇒
Returns a new instance of MissingPassword.
27 28 29
# File 'build/ruby-driver-v2.17/lib/mongo/error/missing_password.rb', line 27 def initialize(msg = nil) super(msg || 'User was created without a password') end