SubgraphExecutionFailedContext

data class SubgraphExecutionFailedContext(val subgraph: AIAgentSubgraph<*, *>, val context: AIAgentGraphContextBase, val input: Any?, val inputType: KType, val throwable: Throwable) : SubgraphExecutionEventContext(source)

The context for handling a subgraph execution failed event.

Constructors

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

Properties

Link copied to clipboard

The context in which the subgraph failed to execute.

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 subgraph execution.

Link copied to clipboard

The type of the input data for the subgraph execution.

Link copied to clipboard

The subgraph instance that failed to execute.

Link copied to clipboard

The exception that caused the subgraph execution to fail.