Method OnErrorAsync
- Namespace
- LMKit.Agents.Orchestration.Streaming
- Assembly
- LM-Kit.NET.dll
OnErrorAsync(Exception, CancellationToken)
Called when an error occurs during the orchestration.
public Task OnErrorAsync(Exception exception, CancellationToken cancellationToken = default)
Parameters
exceptionExceptionThe exception that occurred.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task
A task representing the async operation.