Table of Contents

Class ToolFailureException

Namespace
Oscova.Agents.Harness
Assembly
Oscova.Agents.dll

Signals a tool failure whose text is written for the agent to read.

public sealed class ToolFailureException : Exception, ISerializable

Inheritance

Implements

Inherited Members

Remarks

Reason and fix text must not contain paths, host names, connection strings, credentials, or raw exception text.

Constructors

ToolFailureException(string, string?)

Creates a failure with an agent-readable reason and optional next step.

Properties

Fix

What the agent should do next, when there is a useful next step.