Method HandleException
- Namespace
- LMKit.Agents.Resilience
- Assembly
- LM-Kit.NET.dll
HandleException(Func<Exception, bool>)
Sets a predicate to determine which exceptions count toward the threshold.
public CircuitBreakerPolicy HandleException(Func<Exception, bool> shouldCount)
Parameters
Returns
- CircuitBreakerPolicy
This policy for method chaining.