onNodeExecutionFailed
expect open suspend override fun onNodeExecutionFailed(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentGraphContextBase, node: AIAgentNodeBase<*, *>, input: Any?, inputType: TypeToken, error: 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 node execution event;
context
The context associated with the AI agent executing the node;
node
The instance of the node where the error occurred;
input
The input data provided to the node;
inputType
The type of the input data provided to the node;
error
The exception or error that occurred during node execution.