Exception: Argon2::Errors::InvalidPassword
- Inherits:
-
Argon2::Error
- Object
- StandardError
- Argon2::Error
- Argon2::Errors::InvalidPassword
- Defined in:
- lib/argon2/errors.rb
Overview
Raised when a non-string object is passed to Argon2::Password.create
Instance Method Summary collapse
-
#initialize(msg = "Invalid password (expected a String)") ⇒ InvalidPassword
constructor
A new instance of InvalidPassword.
Constructor Details
#initialize(msg = "Invalid password (expected a String)") ⇒ InvalidPassword
Returns a new instance of InvalidPassword.
55 56 57 |
# File 'lib/argon2/errors.rb', line 55 def initialize(msg = "Invalid password (expected a String)") super end |