aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ErrorCodes.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-24 16:56:41 +0800
committer杨宇千 <crupest@outlook.com>2019-10-24 16:56:41 +0800
commitc324d1dad0ffc1a1013b22792078415e7a50c470 (patch)
treec8f5032f86d8a9e5df0117d438ea741cb0a4f613 /Timeline/ErrorCodes.cs
parent9a163719b76958374d1c27616393368e54e8b8a5 (diff)
downloadtimeline-c324d1dad0ffc1a1013b22792078415e7a50c470.tar.gz
timeline-c324d1dad0ffc1a1013b22792078415e7a50c470.tar.bz2
timeline-c324d1dad0ffc1a1013b22792078415e7a50c470.zip
...
Diffstat (limited to 'Timeline/ErrorCodes.cs')
-rw-r--r--Timeline/ErrorCodes.cs15
1 files changed, 11 insertions, 4 deletions
diff --git a/Timeline/ErrorCodes.cs b/Timeline/ErrorCodes.cs
index 0b325e27..5e7f003a 100644
--- a/Timeline/ErrorCodes.cs
+++ b/Timeline/ErrorCodes.cs
@@ -17,10 +17,17 @@
public static class Header // cc = 01
{
- public const int Missing_ContentType = 10010101; // dd = 01
- public const int Missing_ContentLength = 10010102; // dd = 02
- public const int Zero_ContentLength = 10010103; // dd = 03
- public const int BadFormat_IfNonMatch = 10010104; // dd = 04
+ public const int Missing_ContentType = 10000101; // dd = 01
+ public const int Missing_ContentLength = 10000102; // dd = 02
+ public const int Zero_ContentLength = 10000103; // dd = 03
+ public const int BadFormat_IfNonMatch = 10000104; // dd = 04
+ }
+
+ public static class Content // cc = 02
+ {
+ public const int TooBig = 1000201;
+ public const int UnmatchedLength_Smaller = 10030202;
+ public const int UnmatchedLength_Bigger = 10030203;
}
}
}