mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
18 lines
363 B
C#
18 lines
363 B
C#
using System;
|
|
|
|
namespace Wabbajack.Lib.Exceptions
|
|
{
|
|
public class HttpException : Exception
|
|
{
|
|
public string Reason { get; set; }
|
|
public int Code { get; set; }
|
|
|
|
public HttpException(int code, string reason) : base($"Http Error {code} - {reason}")
|
|
{
|
|
Code = code;
|
|
Reason = reason;
|
|
}
|
|
|
|
}
|
|
}
|