mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
17 lines
464 B
C#
17 lines
464 B
C#
using NzbDrone.Common.Exceptions;
|
|
using NzbDrone.Common.Http;
|
|
|
|
namespace NzbDrone.Core.Http.CloudFlare
|
|
{
|
|
public class CloudFlareProtectionException : NzbDroneException
|
|
{
|
|
public HttpResponse Response { get; set; }
|
|
|
|
public CloudFlareProtectionException(HttpResponse response)
|
|
: base("Unable to access {0}, blocked by CloudFlare Protection.", response.Request.Url.Host)
|
|
{
|
|
Response = response;
|
|
}
|
|
}
|
|
}
|