NodeExecutionFailedEvent
data class NodeExecutionFailedEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val nodeName: String, val input: JsonElement?, val error: AIAgentError, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)
Represents an event that signifies the occurrence of an error during the execution of a specific node within an AI agent's process.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, nodeName: String, input: JsonElement?, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())
constructor(runId: String, nodeName: String, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())
Creates an instance of NodeExecutionFailedEvent.
Properties
Link copied to clipboard
An instance of AIAgentError containing the error details, such as a message, stack trace, and optional cause;
Link copied to clipboard
Provides contextual information about the execution associated with this event.
Link copied to clipboard
The input data provided to the node;
Link copied to clipboard
Specifies the type of the feature message for this event.