Skip to content

AgentFailedEvent

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Progress

AgentFailedEvent Class

An agent run failed.

public sealed record AgentFailedEvent : NexusLabs.Needlr.AgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Needlr.AgentFramework.Progress.AgentFailedEvent>

Inheritance System.Object 🡒 AgentFailedEvent

Implements IProgressEvent, System.IEquatable<AgentFailedEvent>

Constructors

AgentFailedEvent(DateTimeOffset, string, string, string, int, long, string, string) Constructor

An agent run failed.

public AgentFailedEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, string AgentName, string ErrorMessage);

Parameters

Timestamp System.DateTimeOffset

WorkflowId System.String

AgentId System.String

ParentAgentId System.String

Depth System.Int32

SequenceNumber System.Int64

AgentName System.String

ErrorMessage System.String