diff options
Diffstat (limited to 'Timeline/ErrorCodes.cs')
-rw-r--r-- | Timeline/ErrorCodes.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Timeline/ErrorCodes.cs b/Timeline/ErrorCodes.cs new file mode 100644 index 00000000..0b325e27 --- /dev/null +++ b/Timeline/ErrorCodes.cs @@ -0,0 +1,29 @@ +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 = 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
+ }
+ }
+ }
+
+ }
+}
|