mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
32 lines
824 B
C#
32 lines
824 B
C#
using System;
|
|
|
|
namespace Artemis.Core.Plugins.Exceptions
|
|
{
|
|
public class ArtemisPluginException : Exception
|
|
{
|
|
public ArtemisPluginException(PluginInfo pluginInfo)
|
|
{
|
|
PluginInfo = pluginInfo;
|
|
}
|
|
|
|
public ArtemisPluginException(PluginInfo pluginInfo, string message) : base(message)
|
|
{
|
|
PluginInfo = pluginInfo;
|
|
}
|
|
|
|
public ArtemisPluginException(PluginInfo pluginInfo, string message, Exception inner) : base(message, inner)
|
|
{
|
|
PluginInfo = pluginInfo;
|
|
}
|
|
|
|
public ArtemisPluginException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public ArtemisPluginException(string message, Exception inner) : base(message, inner)
|
|
{
|
|
}
|
|
|
|
public PluginInfo PluginInfo { get; }
|
|
}
|
|
} |