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