<PackageReference Include="Polly.Core" Version="8.0.0-alpha.4" />

ExecutionRejectedException

public abstract class ExecutionRejectedException : Exception
Exception thrown when a policy rejects execution of a delegate. More specific exceptions which derive from this type, are generally thrown.
using System; using System.Runtime.CompilerServices; namespace Polly { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public abstract class ExecutionRejectedException : Exception { protected ExecutionRejectedException() { } protected ExecutionRejectedException(string message) : base(message) { } protected ExecutionRejectedException(string message, Exception inner) : base(message, inner) { } } }