mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-05-15 14:06:31 +03:00
13 lines
272 B
C#
13 lines
272 B
C#
using System;
|
|
using System.Net;
|
|
|
|
namespace DHT.Server.Service {
|
|
public class HttpException : Exception {
|
|
public HttpStatusCode StatusCode { get; }
|
|
|
|
public HttpException(HttpStatusCode statusCode, string message) : base(message) {
|
|
StatusCode = statusCode;
|
|
}
|
|
}
|
|
}
|