Table of Contents

Class WorkflowErrorHandler

Namespace
LMKit.Agents.Workflows
Assembly
LM-Kit.NET.dll

What an agent or tool step does once it has failed for good, its retries spent (OnError): it runs Steps (a notification, a fallback, an approval or a hand-off to a person), which read the failure as steps.<id>.error, then the workflow goes on or fails as Then says. A step with no handler fails the workflow.

public sealed class WorkflowErrorHandler
Inheritance
WorkflowErrorHandler
Inherited Members

Fields

ContinueAction

The workflow goes on after the step, whose output is the last error step's output (empty when there is none). The default.

FailAction

The workflow fails with the step's error once Steps have run.

Properties

Steps

Gets or sets the steps run when the step fails for good, in order.

Then

Gets or sets what happens after Steps: continue (default) or fail.

Share