cleanup and simplify the CoD RCon implementation
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user