Table of Contents

Class ToolFailure

Namespace
Emissary
Assembly
Emissary.dll

A tool handler that threw during a run.

public sealed record ToolFailure : IEquatable<ToolFailure>
Inheritance
ToolFailure
Implements
Inherited Members

Constructors

ToolFailure(string, string, Exception, bool)

A tool handler that threw during a run.

public ToolFailure(string ToolUseId, string ToolName, Exception Exception, bool TimedOut)

Parameters

ToolUseId string

The tool-use id of the failed call.

ToolName string

The wire name of the tool.

Exception Exception

The exception the handler threw, in full.

TimedOut bool

Whether the call was cancelled for exceeding Timeout.

Properties

Exception

The exception the handler threw, in full.

public Exception Exception { get; init; }

Property Value

Exception

TimedOut

Whether the call was cancelled for exceeding Timeout.

public bool TimedOut { get; init; }

Property Value

bool

ToolName

The wire name of the tool.

public string ToolName { get; init; }

Property Value

string

ToolUseId

The tool-use id of the failed call.

public string ToolUseId { get; init; }

Property Value

string