code/KustoCopyConsole/CopyException.cs (17 lines of code) (raw):
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KustoCopyConsole
{
public class CopyException : Exception
{
public CopyException(string message, bool isTransient, Exception? innerException = null)
: base(message, innerException)
{
IsTransient = isTransient;
}
public bool IsTransient { get; }
}
}