Exception: Pwl::InvalidMasterPasswordError
- Inherits:
-
StandardError
- Object
- StandardError
- Pwl::InvalidMasterPasswordError
- Defined in:
- lib/pwl/password_policy.rb
Instance Method Summary collapse
-
#initialize(reason) ⇒ InvalidMasterPasswordError
constructor
A new instance of InvalidMasterPasswordError.
Constructor Details
#initialize(reason) ⇒ InvalidMasterPasswordError
Returns a new instance of InvalidMasterPasswordError.
3 4 5 |
# File 'lib/pwl/password_policy.rb', line 3 def initialize(reason) super("The master password is not valid: #{reason}") end |