2020-11-11 17:31:26 -06:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Exceptions
|
|
|
|
|
{
|
|
|
|
|
public class RConException : Exception
|
|
|
|
|
{
|
2022-10-23 14:03:57 -05:00
|
|
|
|
public bool IsOperationCancelled { get; }
|
|
|
|
|
|
2020-11-11 17:31:26 -06:00
|
|
|
|
public RConException(string message) : base(message)
|
|
|
|
|
{
|
|
|
|
|
}
|
2022-10-23 14:03:57 -05:00
|
|
|
|
|
|
|
|
|
public RConException(string message, bool isOperationCancelled) : base(message)
|
|
|
|
|
{
|
|
|
|
|
IsOperationCancelled = isOperationCancelled;
|
|
|
|
|
}
|
2020-11-11 17:31:26 -06:00
|
|
|
|
}
|
2022-10-23 14:03:57 -05:00
|
|
|
|
}
|