InvalidToolApprovalException
Namespace: Vercel.AI.GenerateText
public sealed class InvalidToolApprovalException : AiSdkException, ISerializableAn approval response names an unknown approval id.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Constructors
Section titled “Constructors”InvalidToolApprovalException(string)
Section titled “InvalidToolApprovalException(string)”public InvalidToolApprovalException(string approvalId)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
approvalId |
string |
Properties
Section titled “Properties”ApprovalId
Section titled “ApprovalId”public string ApprovalId { get; }Unknown approval id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product