cleanup and simplify the CoD RCon implementation

This commit is contained in:
RaidMax
2022-10-23 14:03:57 -05:00
parent f4e7d5daf9
commit c06b0982a7
4 changed files with 199 additions and 415 deletions

View File

@ -4,8 +4,15 @@ namespace SharedLibraryCore.Exceptions
{
public class RConException : Exception
{
public bool IsOperationCancelled { get; }
public RConException(string message) : base(message)
{
}
public RConException(string message, bool isOperationCancelled) : base(message)
{
IsOperationCancelled = isOperationCancelled;
}
}
}
}