Skip to content

ObjectStreamErrorPart

Namespace: Vercel.AI.GenerateObject

public sealed class ObjectStreamErrorPart : ObjectStreamPart

An error. Maps to { type: 'error' }.

Inheritance: object → ObjectStreamPart

View source

public Exception Error { get; }

The error.

Value: Exception

View source

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