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
commit89c106169bd2a16310fdaa6e0c48a3402d97de3a (patch)
treec8f5032f86d8a9e5df0117d438ea741cb0a4f613 /Timeline/ErrorCodes.cs
parentb67a26248d5dde4c3909c29b92b8a182248bdcc1 (diff)
downloadtimeline-89c106169bd2a16310fdaa6e0c48a3402d97de3a.tar.gz
timeline-89c106169bd2a16310fdaa6e0c48a3402d97de3a.tar.bz2
timeline-89c106169bd2a16310fdaa6e0c48a3402d97de3a.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;
}
}
}