Exception: Argon2::Errors::InvalidPassword

Inherits:
Argon2::Error
  • Object
show all
Defined in:
lib/argon2/errors.rb

Overview

Raised when a non-string object is passed to Argon2::Password.create

Instance Method Summary collapse

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