You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
572 B
22 lines
572 B
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;
|
|
}
|
|
}
|
|
}
|