mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Some more plugin stuff, lovely commit messages ikr
This commit is contained in:
1 parent
ede07722eb
commit
f7fe57676d
16 files changed
+216
-108
No files matched your search
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
using Artemis.Core.Models;
|
||||
|
||||
namespace Artemis.Core.Exceptions
|
||||
{
|
||||
public class ArtemisModuleException : Exception
|
||||
{
|
||||
public ArtemisModuleException(ModuleInfo moduleInfo)
|
||||
{
|
||||
ModuleInfo = moduleInfo;
|
||||
}
|
||||
|
||||
public ArtemisModuleException(ModuleInfo moduleInfo, string message) : base(message)
|
||||
{
|
||||
ModuleInfo = moduleInfo;
|
||||
}
|
||||
|
||||
public ArtemisModuleException(ModuleInfo moduleInfo, string message, Exception inner) : base(message, inner)
|
||||
{
|
||||
ModuleInfo = moduleInfo;
|
||||
}
|
||||
|
||||
public ModuleInfo ModuleInfo { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using Artemis.Core.Models;
|
||||
|
||||
namespace Artemis.Core.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 PluginInfo PluginInfo { get; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user