Cleans up Argon2 (#141)

This commit is contained in:
Kamron Batman 2020-05-24 19:13:19 -07:00 • committed by GitHub
parent 5d51e97c52
commit f957a1dd5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 39 deletions

View file

@ -13,6 +13,6 @@
/// <param name="action">Which method the Argon2Exception originated from</param>
/// <param name="error">The error returned from the Argon2 library</param>
/// </summary>
public Argon2Exception(string action, Argon2Error error) : base(string.Format("Error during Argon2 {0}: ({1}) {2}", action, (int)error, error)) {}
public Argon2Exception(string action, Argon2Error error) : base($"Error during Argon2 {action}: ({(int)error}) {error}") {}
}
}