// WingsEmu // // Developed by NosWings Team namespace WingsAPI.Plugins.Exceptions { /// /// This exception should be thrown only if you need to stop the software /// public class CriticalPluginException : PluginException { public CriticalPluginException(IPlugin plugin, string message = "Critical Plugin Exception") : base($"[{plugin.Name}] {message}") => Plugin = plugin; public IPlugin Plugin { get; } } }