PowerToys/Wox.Infrastructure/Exception/WoxPluginException.cs

21 lines
500 B
C#
Raw Normal View History

using Wox.Plugin;
namespace Wox.Infrastructure.Exception
2015-01-16 23:42:12 +08:00
{
public class WoxPluginException : WoxException
{
public string PluginName { get; set; }
public WoxPluginException(string pluginName, string msg, System.Exception e)
: base($"{pluginName} : {msg}", e)
{
PluginName = pluginName;
}
public WoxPluginException(string pluginName, string msg) : base(msg)
2015-01-16 23:42:12 +08:00
{
PluginName = pluginName;
}
}
}