Jackett/src/Jackett.Common/ExceptionWithConfigData.cs

16 lines
361 B
C#
Raw Normal View History

2020-02-09 02:35:16 +00:00
using System;
using Jackett.Common.Models.IndexerConfig;
2015-04-13 06:25:21 +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)
=> ConfigData = data;
2015-07-14 19:07:55 +00:00
}
2015-04-13 06:25:21 +00:00
}