Class AssistantToolRefusedException
Thrown by a tool that refuses a call: the catalog answers it with a result whose IsError is true, and whose text is the exception's message.
public sealed class AssistantToolRefusedException : Exception, ISerializable
- Inheritance
-
AssistantToolRefusedException
- Implements
- Inherited Members
Constructors
AssistantToolRefusedException(string)
Thrown by a tool that refuses a call: the catalog answers it with a result whose IsError is true, and whose text is the exception's message.
public AssistantToolRefusedException(string message)
Parameters
messagestringWhy the call is refused, in the language of the client's user interface, for an assistant to read.