diff options
author | crupest <crupest@outlook.com> | 2022-12-19 12:24:54 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-20 20:32:53 +0800 |
commit | 88477dffdd0811a5613dba0aa1db4818bf4fd058 (patch) | |
tree | 1e431c0b2038cde586be12cfb96c6c2da75b11e8 /docker/crupest-api/CrupestApi/CrupestApi.Secrets/VerifySecretException.cs | |
parent | 2efc4f7ea0784a504ce50207a19a8899a121f8cd (diff) | |
download | crupest-88477dffdd0811a5613dba0aa1db4818bf4fd058.tar.gz crupest-88477dffdd0811a5613dba0aa1db4818bf4fd058.tar.bz2 crupest-88477dffdd0811a5613dba0aa1db4818bf4fd058.zip |
Develop secret api. v43
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Secrets/VerifySecretException.cs')
-rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Secrets/VerifySecretException.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Secrets/VerifySecretException.cs b/docker/crupest-api/CrupestApi/CrupestApi.Secrets/VerifySecretException.cs deleted file mode 100644 index 795fa3e..0000000 --- a/docker/crupest-api/CrupestApi/CrupestApi.Secrets/VerifySecretException.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace CrupestApi.Secrets; - -public class VerifySecretException : Exception -{ - public VerifySecretException(string? requestKey, string message, ErrorKind kind = ErrorKind.Unauthorized) : base(message) - { - RequestKey = requestKey; - Kind = kind; - } - - public enum ErrorKind - { - Unauthorized, - Forbidden - } - - public ErrorKind Kind { get; set; } - - public string? RequestKey { get; set; } -} |