Method HandleException
- Namespace
- LMKit.Agents.Resilience
- Assembly
- LM-Kit.NET.dll
HandleException(Func<Exception, bool>)
Sets a predicate to determine which exceptions should trigger a retry.
public RetryPolicy HandleException(Func<Exception, bool> shouldRetry)
Parameters
Returns
- RetryPolicy
This policy for method chaining.