Table of Contents

Class ToolArgumentException

Namespace
Emissary
Assembly
Emissary.dll

Thrown by generated tool dispatchers when the model supplies invalid tool input — a required argument is missing, or a value cannot be converted to the parameter type.

public sealed class ToolArgumentException : Exception, ISerializable
Inheritance
ToolArgumentException
Implements
Inherited Members

Constructors

ToolArgumentException(string)

Creates the exception with a message describing the invalid argument.

public ToolArgumentException(string message)

Parameters

message string

What was wrong with the tool input.