mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 17:47:08 +00:00
21 lines
572 B
C#
21 lines
572 B
C#
using System.Net;
|
|
using NzbDrone.Common.Exceptions;
|
|
|
|
namespace NzbDrone.Core
|
|
{
|
|
public class NzbDroneClientException : NzbDroneException
|
|
{
|
|
public HttpStatusCode StatusCode { get; private set; }
|
|
|
|
public NzbDroneClientException(HttpStatusCode statusCode, string message, params object[] args) : base(message, args)
|
|
{
|
|
StatusCode = statusCode;
|
|
}
|
|
|
|
public NzbDroneClientException(HttpStatusCode statusCode, string message)
|
|
: base(message)
|
|
{
|
|
StatusCode = statusCode;
|
|
}
|
|
}
|
|
}
|