Exception: Authmagic::BadPassword
- Inherits:
-
AuthenticationError
- Object
- SecurityError
- AuthenticationError
- Authmagic::BadPassword
- Defined in:
- lib/authmagic/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ BadPassword
constructor
A new instance of BadPassword.
Constructor Details
#initialize(msg = nil) ⇒ BadPassword
Returns a new instance of BadPassword.
12 13 14 |
# File 'lib/authmagic/exceptions.rb', line 12 def initialize(msg = nil) super(msg || 'bad password') end |