JsonParseException
Namespace: Vercel.AI.ProviderUtils
public sealed class JsonParseException : Exception, ISerializableJSON text could not be parsed.
Inheritance: object → Exception
Implements: ISerializable
Constructors
Section titled “Constructors”JsonParseException(string, Exception)
Section titled “JsonParseException(string, Exception)”public JsonParseException(string text, Exception innerException)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string | |
innerException |
Exception |
Properties
Section titled “Properties”public string Text { get; }Original text.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product