mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-15 15:32:33 +01:00
22 lines
572 B
C#
22 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;
|
|
}
|
|
}
|
|
}
|