<PackageReference Include="Polly.Core" Version="8.4.2" />

BrokenCircuitException

Exception thrown when a circuit is broken.
using System; using System.Runtime.CompilerServices; namespace Polly.CircuitBreaker { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class BrokenCircuitException : ExecutionRejectedException { internal const string DefaultMessage = "The circuit is now open and is not allowing calls."; public BrokenCircuitException() : base("The circuit is now open and is not allowing calls.") { } public BrokenCircuitException(string message) : base(message) { } public BrokenCircuitException(string message, Exception inner) : base(message, inner) { } } }