onNodeExecutionFailed
suspend fun onNodeExecutionFailed(eventId: String, executionInfo: AgentExecutionInfo, node: AIAgentNodeBase<*, *>, context: AIAgentGraphContextBase, input: Any?, inputType: KType, throwable: Throwable)(source)
Handles errors occurring during the execution of a node by invoking all registered node execution error handlers.
Parameters
eventId
The unique identifier for the event group.
executionInfo
The execution information for the agent environment transformation event
node
The instance of the node where the error occurred.
context
The context associated with the AI agent executing the node.
input
The input data provided to the node.
inputType
The type of the input data provided to the node.
throwable
The exception or error that occurred during node execution.