PowerToys/Wox.Infrastructure/Exception/WoxPluginException.cs
bao-qian 79b4716b95 Fix "NoTranslation" bug for plugins
1. fix #475
2. remove GetLanguagesFolder, part of #468
3. bug introduced since 1f939ff3
2016-02-17 15:49:55 +00:00

23 lines
560 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;
}
public WoxPluginException(string msg) : base(msg)
{
}
}
}