aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ErrorCodes.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-31 15:02:03 +0800
committerGitHub <noreply@github.com>2019-10-31 15:02:03 +0800
commit37a2e6340ab20de1f9e847d795c0cbec9846de97 (patch)
treeba42530cf4f13621a7a3a7ff661e383117119883 /Timeline/ErrorCodes.cs
parenta175f8328d7a6c36464676d54fc50d03e64be0af (diff)
parent2c3744ab5db476b64a32c19b50153e3e6166b0e6 (diff)
downloadtimeline-37a2e6340ab20de1f9e847d795c0cbec9846de97.tar.gz
timeline-37a2e6340ab20de1f9e847d795c0cbec9846de97.tar.bz2
timeline-37a2e6340ab20de1f9e847d795c0cbec9846de97.zip
Merge pull request #53 from crupest/nickname
Add nickname support.
Diffstat (limited to 'Timeline/ErrorCodes.cs')
-rw-r--r--Timeline/ErrorCodes.cs19
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;
}
}
}
-
}
}