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