InvalidDataContentException
Namespace: Vercel.AI.Prompt
public sealed class InvalidDataContentException : AiSdkException, ISerializableFile content could not be converted. Maps to InvalidDataContentError.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Constructors
Section titled “Constructors”InvalidDataContentException(string)
Section titled “InvalidDataContentException(string)”public InvalidDataContentException(string message)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product