19 lines
430 B
C#
19 lines
430 B
C#
using System;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|