aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ErrorCodes.cs
blob: 0b325e27e13ab1052c79b0dcb66b9087d0e1425f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
                }
            }
        }

    }
}