NodeExecutionFailedEvent

data class NodeExecutionFailedEvent(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(runId: String, nodeName: String, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Creates an instance of NodeExecutionFailedEvent.

constructor(runId: String, nodeName: String, input: JsonElement?, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())

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

The input data provided to the node;

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard

The name of the node where the error occurred;

Link copied to clipboard

A unique identifier associated with the specific run of the AI agent;

Link copied to clipboard
open override val timestamp: Long

The timestamp of the event, in milliseconds since the Unix epoch.