Files
Prowlarr/src/NzbDrone.Core/Indexers/Exceptions/IndexerException.cs
T
2016-02-11 22:11:53 +01:00

27 lines
673 B
C#

using NzbDrone.Common.Exceptions;
namespace NzbDrone.Core.Indexers.Exceptions
{
public class IndexerException : NzbDroneException
{
private readonly IndexerResponse _indexerResponse;
public IndexerException(IndexerResponse response, string message, params object[] args)
: base(message, args)
{
_indexerResponse = response;
}
public IndexerException(IndexerResponse response, string message)
: base(message)
{
_indexerResponse = response;
}
public IndexerResponse Response
{
get { return _indexerResponse; }
}
}
}