mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2024-12-22 23:42:50 +01:00
13 lines
275 B
C#
13 lines
275 B
C#
using System;
|
|
using System.Net;
|
|
|
|
namespace DHT.Utils.Http {
|
|
public sealed class HttpException : Exception {
|
|
public HttpStatusCode StatusCode { get; }
|
|
|
|
public HttpException(HttpStatusCode statusCode, string message) : base(message) {
|
|
StatusCode = statusCode;
|
|
}
|
|
}
|
|
}
|