InvalidArgumentException
Namespace: Vercel.AI.Operations
public sealed class InvalidArgumentException : AiSdkException, ISerializableInvalid caller argument. Maps to InvalidArgumentError.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Constructors
Section titled “Constructors”InvalidArgumentException(string, object?, string)
Section titled “InvalidArgumentException(string, object?, string)”public InvalidArgumentException(string parameter, object? value, string message)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
parameter |
string | |
value |
object | |
message |
string |
Properties
Section titled “Properties”Parameter
Section titled “Parameter”public string Parameter { get; }Parameter name.
Value: string
public object? Value { get; }Rejected value.
Value: object
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product