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.