class PuTTY::Key::Argon2Error
Indicates that libargon2 encountered an error hashing the passphrase to derive the keys for a format 3 .ppk file.
Attributes
error_code[R]
The error code returned by the argon2_hash
function.
Public Class Methods
new(error_code, message)
click to toggle source
Initializes a new {Argon2Error}.
@param error_code
[Integer] The error code returned by the argon2_hash
function. @param message [String] A description of the error.
Calls superclass method
# File lib/putty/key/error.rb, line 32 def initialize(error_code, message) super(message) @error_code = error_code end