Skip to content

JsonParseException

Namespace: Vercel.AI.ProviderUtils

public sealed class JsonParseException : Exception, ISerializable

JSON text could not be parsed.

Inheritance: object → Exception

Implements: ISerializable

View source

public JsonParseException(string text, Exception innerException)

Creates the exception.

Parameters

Name Type Description
text string
innerException Exception

View source

public string Text { get; }

Original text.

Value: string

View source

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