2020-02-09 02:35:16 +00:00
|
|
|
using System;
|
2018-03-10 08:05:56 +00:00
|
|
|
using Jackett.Common.Models.IndexerConfig;
|
2015-04-13 06:25:21 +00:00
|
|
|
|
2018-03-10 08:05:56 +00:00
|
|
|
namespace Jackett.Common
|
2015-04-13 06:25:21 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
public class ExceptionWithConfigData : Exception
|
|
|
|
{
|
|
|
|
public ConfigurationData ConfigData { get; private set; }
|
|
|
|
public ExceptionWithConfigData(string message, ConfigurationData data)
|
|
|
|
: base(message)
|
2020-02-25 16:08:03 +00:00
|
|
|
=> ConfigData = data;
|
2015-07-14 19:07:55 +00:00
|
|
|
|
|
|
|
}
|
2015-04-13 06:25:21 +00:00
|
|
|
}
|