PassStoreFileException: fix exception description in console

This commit is contained in:
2025-12-04 00:25:42 +03:00
parent 55ad709579
commit 8fe565ca82

View File

@@ -9,10 +9,8 @@ public class PassStoreFileException : Exception
public static readonly PassStoreFileException UnsupportedVersion = new("unsupported format version");
public static readonly PassStoreFileException InvalidCryptoHeader = new("invalid encryption header");
public static readonly PassStoreFileException ContentHMACMismatch = new("content HMAC mismatch");
public string Description { get; }
public PassStoreFileException(string description)
public PassStoreFileException(string description): base(description)
{
Description = description;
}
}