mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2024-11-25 05:42:45 +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;
|
|
}
|
|
}
|
|
}
|