1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-23 02:05:27 +02:00
Sonarr/NzbDrone.Core/NzbDroneClientException.cs

22 lines
572 B
C#
Raw Normal View History

using System.Net;
2013-09-09 18:09:55 +03:00
using NzbDrone.Common.Exceptions;
2013-09-09 18:09:55 +03:00
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;
}
}
}