mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-05 19:20:19 +02:00
23 lines
662 B
C#
23 lines
662 B
C#
using NzbDrone.Common.Exceptions;
|
|
|
|
namespace NzbDrone.Core.Indexers.Exceptions
|
|
{
|
|
public class RequestLimitReachedException : NzbDroneException
|
|
{
|
|
private readonly IndexerResponse _indexerResponse;
|
|
|
|
public RequestLimitReachedException(IndexerResponse response, string message, params object[] args)
|
|
: base(message, args)
|
|
{
|
|
_indexerResponse = response;
|
|
}
|
|
|
|
public RequestLimitReachedException(IndexerResponse response, string message)
|
|
: base(message)
|
|
{
|
|
_indexerResponse = response;
|
|
}
|
|
|
|
public IndexerResponse Response => _indexerResponse;
|
|
}
|
|
}
|