aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/ErrorCodes.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-30 17:53:40 +0800
committercrupest <crupest@outlook.com>2021-04-30 17:53:40 +0800
commite536121d97610af09d6bf4a51a875b0f7d50f702 (patch)
tree4f6e2f0ddae0920cc1ef3213dc36953a95bb2fc8 /BackEnd/Timeline/ErrorCodes.cs
parent9f81ec1d4a54239ae9456923115f4a1e379d9e71 (diff)
downloadtimeline-e536121d97610af09d6bf4a51a875b0f7d50f702.tar.gz
timeline-e536121d97610af09d6bf4a51a875b0f7d50f702.tar.bz2
timeline-e536121d97610af09d6bf4a51a875b0f7d50f702.zip
refactor: ...
Diffstat (limited to 'BackEnd/Timeline/ErrorCodes.cs')
-rw-r--r--BackEnd/Timeline/ErrorCodes.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/BackEnd/Timeline/ErrorCodes.cs b/BackEnd/Timeline/ErrorCodes.cs
index 06952822..79054a6f 100644
--- a/BackEnd/Timeline/ErrorCodes.cs
+++ b/BackEnd/Timeline/ErrorCodes.cs
@@ -56,25 +56,25 @@
public static class TokenController
{
- public const int Create_BadCredential = 1_101_01_01;
- public const int Verify_BadFormat = 1_101_02_01;
- public const int Verify_UserNotExist = 1_101_02_02;
- public const int Verify_OldVersion = 1_101_02_03;
- public const int Verify_TimeExpired = 1_101_02_04;
+ 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 static class UserController
{
- public const int ChangePassword_BadOldPassword = 1_102_02_01;
- public const int ChangePermission_RootUser = 1_102_03_01;
- public const int Delete_RootUser = 1_102_04_01;
+ public const int ChangePasswordBadOldPassword = 1_102_01_01;
+ public const int InvalidOperationOnRootUser = 1_102_02_01;
}
- public static class UserAvatar
+ public static class Image
{
- public const int BadFormat_CantDecode = 1_103_00_01;
- public const int BadFormat_UnmatchedFormat = 1_103_00_02;
- public const int BadFormat_BadSize = 1_103_00_03;
+ public const int CantDecode = 1_103_00_01;
+ public const int UnmatchedFormat = 1_103_00_02;
+ public const int BadSize = 1_103_00_03;
+ public const int Unknown = 1_103_00_04;
}
public static class TimelineController