diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-24 14:46:55 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-24 14:46:55 +0200 |
| commit | 0fb83fb3abb456ee6707b7f3cabc6b0c1ab2281b (patch) | |
| tree | 6b0076b6c1daacd51c2aab18aaaf15e6edb19d9e /Software/Visual_Studio/Tango.Web/WebApiException.cs | |
| parent | 2f77ad3cebf771bdf02188174c9712027b004d41 (diff) | |
| download | Tango-0fb83fb3abb456ee6707b7f3cabc6b0c1ab2281b.tar.gz Tango-0fb83fb3abb456ee6707b7f3cabc6b0c1ab2281b.zip | |
Moved all common web components to Tango.Web
Changed app keys names.
Fixed issue with machine studio and the initialization of observables static collections.
Diffstat (limited to 'Software/Visual_Studio/Tango.Web/WebApiException.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Web/WebApiException.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Web/WebApiException.cs b/Software/Visual_Studio/Tango.Web/WebApiException.cs new file mode 100644 index 000000000..c9b464c6f --- /dev/null +++ b/Software/Visual_Studio/Tango.Web/WebApiException.cs @@ -0,0 +1,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; + } + } +}
\ No newline at end of file |
