mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added some module architecture
This commit is contained in:
1 parent
8d9076a241
commit
84f21aa044
25 files changed
+1732
-59
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Artemis.Core.Exceptions
|
||||
{
|
||||
public class ArtemisCoreException : Exception
|
||||
{
|
||||
public ArtemisCoreException()
|
||||
{
|
||||
}
|
||||
|
||||
public ArtemisCoreException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public ArtemisCoreException(string message, Exception inner) : base(message, inner)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user