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
ToolUseIdstringThe tool-use id of the failed call.
ToolNamestringThe wire name of the tool.
ExceptionExceptionThe exception the handler threw, in full.
TimedOutboolWhether the call was cancelled for exceeding Timeout.
Properties
Exception
The exception the handler threw, in full.
public Exception Exception { get; init; }
Property Value
TimedOut
Whether the call was cancelled for exceeding Timeout.
public bool TimedOut { get; init; }
Property Value
ToolName
The wire name of the tool.
public string ToolName { get; init; }
Property Value
ToolUseId
The tool-use id of the failed call.
public string ToolUseId { get; init; }