NodeExecutionFailedEvent

data class NodeExecutionFailedEvent(val runId: String, val nodeName: String, 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.

This event captures information about the failed execution, including the identifier of the run, the name of the node where the error occurred, and the details of the error itself. It provides contextual information necessary for debugging, tracing, or analyzing issues encountered during the AI agent's execution.

This event extends the DefinedFeatureEvent class, inheriting common event properties such as timestamps and message types.

Constructors

Link copied to clipboard
constructor(runId: String, nodeName: String, 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
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.