Exception: Pwl::InvalidMasterPasswordError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pwl/password_policy.rb

Instance Method Summary collapse

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