Files
Jackett-Jackett/src/Jackett.Common/ExceptionWithConfigData.cs
flightlevel 3e5e48c3a0 Change namespace to Jackett.Common (#2691)
Really hope I don't break anything with this
Went to have a go at .NET core and it just became too confusing for me with 'Jackett' namespace referring to both Jackett.Common and Jackett
2018-03-10 19:05:56 +11:00

18 lines
381 B
C#

using System;
using Jackett.Common.Models.IndexerConfig;
namespace Jackett.Common
{
public class ExceptionWithConfigData : Exception
{
public ConfigurationData ConfigData { get; private set; }
public ExceptionWithConfigData(string message, ConfigurationData data)
: base(message)
{
ConfigData = data;
}
}
}