aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Web/WebApiException.cs
blob: c9b464c6f43f60247e7905fc2c0d9aa351782c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;

namespace Tango.Web
{
    public class WebApiException : Exception
    {
        public HttpStatusCode StatusCode { get; set; }

        public WebApiException(HttpStatusCode statusCode, String message) : base(message)
        {
            StatusCode = statusCode;
        }
    }
}