aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/ErrorCodes.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-23 21:30:14 +0800
committercrupest <crupest@outlook.com>2022-03-23 21:30:31 +0800
commitda9139b7bab95f6e5ba5f4bb2d99011c2d6db03a (patch)
tree051fd4ca4bc511db7e04b019a33fddaab2d0cc6b /BackEnd/Timeline/ErrorCodes.cs
parent3d6c9fd916e18c99b3a5497b8313672680571b5e (diff)
downloadtimeline-da9139b7bab95f6e5ba5f4bb2d99011c2d6db03a.tar.gz
timeline-da9139b7bab95f6e5ba5f4bb2d99011c2d6db03a.tar.bz2
timeline-da9139b7bab95f6e5ba5f4bb2d99011c2d6db03a.zip
Diffstat (limited to 'BackEnd/Timeline/ErrorCodes.cs')
-rw-r--r--BackEnd/Timeline/ErrorCodes.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/BackEnd/Timeline/ErrorCodes.cs b/BackEnd/Timeline/ErrorCodes.cs
index be532c0c..9201979f 100644
--- a/BackEnd/Timeline/ErrorCodes.cs
+++ b/BackEnd/Timeline/ErrorCodes.cs
@@ -29,10 +29,7 @@
public static class Token
{
public const int TimeExpired = 1_000_21_01;
- public const int VersionExpired = 1_000_21_02;
- public const int BadFormat = 1_000_21_03;
- public const int UserNotExist = 1_000_21_04;
- public const int Unknown = 1_000_21_05;
+ public const int Invalid = 1_000_21_02;
}
}
@@ -61,10 +58,8 @@
public static class TokenController
{
public const int CreateBadCredential = 1_101_01_01;
- public const int VerifyBadFormat = 1_101_02_01;
- public const int VerifyUserNotExist = 1_101_02_02;
- public const int VerifyOldVersion = 1_101_02_03;
- public const int VerifyTimeExpired = 1_101_02_04;
+ public const int VerifyInvalid = 1_101_02_02;
+ public const int VerifyExpired = 1_101_02_03;
}
public static class UserController