mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-10 20:46:24 +00:00
Initial commit (simple but working version)
This commit is contained in:
1 parent
0a8c571244
commit
f07595b50c
30 files changed
+1098
No files matched your search
@@ -0,0 +1,26 @@
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
|
||||
using System;
|
||||
using CUE.NET.Enums;
|
||||
|
||||
namespace CUE.NET.Exceptions
|
||||
{
|
||||
public class CUEException : ApplicationException
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
public CorsairError Error { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
public CUEException(CorsairError error)
|
||||
{
|
||||
this.Error = error;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace CUE.NET.Exceptions
|
||||
{
|
||||
public class WrapperException : ApplicationException
|
||||
{
|
||||
#region Constructors
|
||||
|
||||
public WrapperException(string message, Exception innerException = null)
|
||||
: base(message, innerException)
|
||||
{ }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user