aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ErrorCodes.cs
blob: c246953b0c02e5437de30dcdd8aa15eb7c7c87ae (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
30
31
32
33
34
35
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 = 0x
                {
                    public static class IfNonMatch // cc = 01
                    {
                        public const int BadFormat = 10000101;
                    }
                }

                public static class Content // cc = 11
                {
                    public const int TooBig = 10001101;
                    public const int UnmatchedLength_Smaller = 10001102;
                    public const int UnmatchedLength_Bigger = 10001103;
                }
            }
        }
    }
}