TypeValidationException
Namespace: Vercel.AI.ProviderUtils
public sealed class TypeValidationException : Exception, ISerializableA value did not match a JSON Schema.
Inheritance: object → Exception
Implements: ISerializable
Constructors
Section titled “Constructors”TypeValidationException(string, JsonElement?)
Section titled “TypeValidationException(string, JsonElement?)”public TypeValidationException(string message, JsonElement? value)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | |
value |
JsonElement? |
Properties
Section titled “Properties”public JsonElement? Value { get; }Value that failed validation.
Value: JsonElement?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product