onAgentRunError

var onAgentRunError: suspend (strategyName: String, throwable: Throwable) -> Unit(source)

Handler called when an error occurs during agent execution.