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