onAgentRunError

suspend fun onAgentRunError(strategyName: String, throwable: Throwable)(source)

Notifies all registered handlers about an error that occurred during agent execution.

Parameters

strategyName

The name of the strategy during which the error occurred

throwable

The exception that was thrown during agent execution