diff options
author | 杨宇千 <crupest@outlook.com> | 2020-02-01 00:26:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 00:26:35 +0800 |
commit | d703269e06d4c9e254fe2d5589ff04cdd6a9b366 (patch) | |
tree | f02f8d57440c777d4732bc4439f82e8b25c6732c /Timeline/ErrorCodes.cs | |
parent | 631731e5c2253116a53fdc435afca184251a34fc (diff) | |
parent | bddf1d6eaac782672071df6527c40c81c3123f3a (diff) | |
download | timeline-d703269e06d4c9e254fe2d5589ff04cdd6a9b366.tar.gz timeline-d703269e06d4c9e254fe2d5589ff04cdd6a9b366.tar.bz2 timeline-d703269e06d4c9e254fe2d5589ff04cdd6a9b366.zip |
Merge pull request #56 from crupest/dev
Refactor API to be RESTful.
Diffstat (limited to 'Timeline/ErrorCodes.cs')
-rw-r--r-- | Timeline/ErrorCodes.cs | 35 |
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;
- }
- }
- }
- }
-}
|