NodeExecutionFailedContext

data class NodeExecutionFailedContext(val node: AIAgentNodeBase<*, *>, val context: AIAgentGraphContextBase, val input: Any?, val inputType: KType, val throwable: Throwable) : NodeExecutionEventContext(source)

Represents the context for handling errors during the execution of a node.

Constructors

Link copied to clipboard
constructor(node: AIAgentNodeBase<*, *>, context: AIAgentGraphContextBase, input: Any?, inputType: KType, throwable: Throwable)

Properties

Link copied to clipboard

The stage context in which the node experienced the error.

Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard
val input: Any?

The input data for the node execution.

Link copied to clipboard

KType representing the type of the input.

Link copied to clipboard

The node where the error occurred.

Link copied to clipboard

The exception or error that occurred during node execution.