NodeExecutionFailedContext

data class NodeExecutionFailedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentGraphContextBase, val node: AIAgentNodeBase<*, *>, val input: Any?, val inputType: TypeToken, val error: Throwable) : NodeExecutionEventContext(source)

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

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentGraphContextBase, node: AIAgentNodeBase<*, *>, input: Any?, inputType: TypeToken, error: Throwable)

Properties

Link copied to clipboard
open override val context: AIAgentGraphContextBase

The AI agent context.

Link copied to clipboard

The exception or error that occurred during node execution.

Link copied to clipboard
open override val eventId: String

The unique identifier for the event.

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

Holds execution-specific context information to support observability and tracing during the lifecycle of an agent.

Link copied to clipboard
val input: Any?

The node input data;

Link copied to clipboard
val inputType: TypeToken

TypeToken representing the type of the input.

Link copied to clipboard
open override val node: AIAgentNodeBase<*, *>

The AI Agent node instance.