mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
705354a3d6
1. Throw exception for fatal/error log when debugging 2. Write to debug output for warn/debug/info log when debugging 3. part of #355
14 lines
335 B
C#
14 lines
335 B
C#
namespace Wox.Core.Exception
|
|
{
|
|
public class WoxPluginException : WoxException
|
|
{
|
|
public string PluginName { get; set; }
|
|
|
|
public WoxPluginException(string pluginName, string msg, System.Exception e)
|
|
: base($"{msg}: {pluginName}", e)
|
|
{
|
|
PluginName = pluginName;
|
|
}
|
|
}
|
|
}
|