diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-31 15:02:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 15:02:03 +0800 |
commit | 2de7fa95bb5ad0a10f74fb390bac464a250dee42 (patch) | |
tree | ba42530cf4f13621a7a3a7ff661e383117119883 /Timeline/ErrorCodes.cs | |
parent | f08f53d6fcd9baf9dd3b95209f7c7448ae8168d4 (diff) | |
parent | cf2055f956695bc0b9ecdb6d8023d0d199b98462 (diff) | |
download | timeline-2de7fa95bb5ad0a10f74fb390bac464a250dee42.tar.gz timeline-2de7fa95bb5ad0a10f74fb390bac464a250dee42.tar.bz2 timeline-2de7fa95bb5ad0a10f74fb390bac464a250dee42.zip |
Merge pull request #53 from crupest/nickname
Add nickname support.
Diffstat (limited to 'Timeline/ErrorCodes.cs')
-rw-r--r-- | Timeline/ErrorCodes.cs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Timeline/ErrorCodes.cs b/Timeline/ErrorCodes.cs index 5e7f003a..c246953b 100644 --- a/Timeline/ErrorCodes.cs +++ b/Timeline/ErrorCodes.cs @@ -15,22 +15,21 @@ {
public const int InvalidModel = 10000000;
- public static class Header // cc = 01
+ public static class Header // cc = 0x
{
- 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 IfNonMatch // cc = 01
+ {
+ public const int BadFormat = 10000101;
+ }
}
- public static class Content // cc = 02
+ public static class Content // cc = 11
{
- public const int TooBig = 1000201;
- public const int UnmatchedLength_Smaller = 10030202;
- public const int UnmatchedLength_Bigger = 10030203;
+ public const int TooBig = 10001101;
+ public const int UnmatchedLength_Smaller = 10001102;
+ public const int UnmatchedLength_Bigger = 10001103;
}
}
}
-
}
}
|