Skip to content

InvalidDataContentException

Namespace: Vercel.AI.Prompt

public sealed class InvalidDataContentException : AiSdkException, ISerializable

File content could not be converted. Maps to InvalidDataContentError.

Inheritance: object → Exception → AiSdkException

Implements: ISerializable

View source

public InvalidDataContentException(string message)

Creates the exception.

Parameters

Name Type Description
message string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product