mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-04-19 19:16:28 +03:00
add an exception type for PassStoreFileException
This commit is contained in:
@@ -8,6 +8,7 @@ public class PassStoreFileException : Exception
|
||||
public static readonly PassStoreFileException IncorrectMagicNumber = new("incorrect signature (magic number)");
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user