DeclarativeWorkflowErrorProgressEvent
NexusLabs.Foundry.MicrosoftAgentFramework.Workflows.Declarative¶
DeclarativeWorkflowErrorProgressEvent Class¶
A declarative workflow raised an error.
public sealed record DeclarativeWorkflowErrorProgressEvent : NexusLabs.Foundry.MicrosoftAgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Workflows.Declarative.DeclarativeWorkflowErrorProgressEvent>
Inheritance System.Object 🡒 DeclarativeWorkflowErrorProgressEvent
Implements NexusLabs.Foundry.MicrosoftAgentFramework.Progress.IProgressEvent, System.IEquatable<DeclarativeWorkflowErrorProgressEvent>
Remarks¶
This is reported instead of a workflow-completed event carrying a failure flag, because the upstream error event does not terminate the run: a workflow can raise an error and continue, so treating it as completion would misreport the run''s shape.
Constructors¶
DeclarativeWorkflowErrorProgressEvent(DateTimeOffset, string, string, string, int, long, string) Constructor¶
A declarative workflow raised an error.
public DeclarativeWorkflowErrorProgressEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, string ErrorMessage);
Parameters¶
Timestamp System.DateTimeOffset
WorkflowId System.String
AgentId System.String
ParentAgentId System.String
Depth System.Int32
SequenceNumber System.Int64
ErrorMessage System.String
Remarks¶
This is reported instead of a workflow-completed event carrying a failure flag, because the upstream error event does not terminate the run: a workflow can raise an error and continue, so treating it as completion would misreport the run''s shape.