AgentRunErrorHandler

Functional interface for handling errors that occur during the execution of an agent run.

This handler provides a mechanism to process and respond to errors associated with a specific strategy execution. It can be used to implement custom error-handling logic tailored to the requirements of an agent or strategy.

Functions

Link copied to clipboard
abstract suspend fun handle(eventContext: AgentRunErrorContext)

Handles an error that occurs during the execution of an agent's strategy.