PowerToys/Wox.Infrastructure/Exception/WoxPluginException.cs
bao-qian 6e13440f1f MVVM refactoring for web search plugin, part 1
1. #486
2. fix #778 #763 #742
3. MVVM refactoring
4. remove IMultipleActionKeywords interface, use PluginManager directly
2016-06-21 00:14:32 +01:00

19 lines
481 B
C#

namespace Wox.Infrastructure.Exception
{
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)
{
PluginName = pluginName;
}
}
}