FaultGenerator
A generator for creating faults (exceptions) using registered delegate functions.
public FaultGenerator()
Initializes a new instance of the FaultGenerator class.
public static Func<FaultGeneratorArguments, ValueTask<Exception>> op_Implicit(FaultGenerator generator)
Provides an implicit conversion from FaultGenerator to a delegate compatible with FaultGenerator.
Registers an exception generator delegate.
Registers an exception generator delegate that accepts a ResilienceContext.
Registers an exception generator for a specific exception type, using the default constructor of that exception.