aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ErrorCodes.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2020-02-01 00:26:35 +0800
committerGitHub <noreply@github.com>2020-02-01 00:26:35 +0800
commit7b962cd876719fb871569ba3c97fb5545721a3f8 (patch)
treef02f8d57440c777d4732bc4439f82e8b25c6732c /Timeline/ErrorCodes.cs
parent289c7e1fada1f4dae6ce5e421e997ebddd55c2df (diff)
parentbcb0a2361467614531a337282da1fd23996924f1 (diff)
downloadtimeline-7b962cd876719fb871569ba3c97fb5545721a3f8.tar.gz
timeline-7b962cd876719fb871569ba3c97fb5545721a3f8.tar.bz2
timeline-7b962cd876719fb871569ba3c97fb5545721a3f8.zip
Merge pull request #56 from crupest/dev
Refactor API to be RESTful.
Diffstat (limited to 'Timeline/ErrorCodes.cs')
-rw-r--r--Timeline/ErrorCodes.cs35
1 files changed, 0 insertions, 35 deletions
diff --git a/Timeline/ErrorCodes.cs b/Timeline/ErrorCodes.cs
deleted file mode 100644
index c246953b..00000000
--- a/Timeline/ErrorCodes.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-namespace Timeline
-{
- /// <summary>
- /// All error code constants.
- /// </summary>
- /// <remarks>
- /// Scheme:
- /// abbbccdd
- /// </remarks>
- public static partial class ErrorCodes
- {
- public static partial class Http // a = 1
- {
- public static class Common // bbb = 000
- {
- public const int InvalidModel = 10000000;
-
- public static class Header // cc = 0x
- {
- public static class IfNonMatch // cc = 01
- {
- public const int BadFormat = 10000101;
- }
- }
-
- public static class Content // cc = 11
- {
- public const int TooBig = 10001101;
- public const int UnmatchedLength_Smaller = 10001102;
- public const int UnmatchedLength_Bigger = 10001103;
- }
- }
- }
- }
-}