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

OnFaultInjectedArguments

Arguments used by the fault chaos strategy to notify that an fault was injected.
using System; using System.Runtime.CompilerServices; namespace Polly.Simmy.Fault { [NullableContext(1)] [Nullable(0)] internal readonly struct OnFaultInjectedArguments { public ResilienceContext Context { get; } public Exception Fault { get; } public OnFaultInjectedArguments(ResilienceContext context, Exception fault) { Context = context; Fault = fault; } } }