mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-01-06 22:42:49 +01:00
13 lines
267 B
C#
13 lines
267 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;
|
|
}
|
|
}
|