Exception: PuTTY::Key::Argon2Error
- Defined in:
- lib/putty/key/error.rb
Overview
Indicates that libargon2 encountered an error hashing the passphrase to derive the keys for a format 3 .ppk file.
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
The error code returned by the
argon2_hash
function.
Instance Method Summary collapse
-
#initialize(error_code, message) ⇒ Argon2Error
constructor
Initializes a new Argon2Error.
Constructor Details
#initialize(error_code, message) ⇒ Argon2Error
Initializes a new PuTTY::Key::Argon2Error.
32 33 34 35 |
# File 'lib/putty/key/error.rb', line 32 def initialize(error_code, ) super() @error_code = error_code end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
The error code returned by the argon2_hash
function.
25 26 27 |
# File 'lib/putty/key/error.rb', line 25 def error_code @error_code end |