Skip to content

ErrorPart

Namespace: Vercel.AI

public sealed class ErrorPart : TextStreamPart

The stream failed.

Inheritance: object → TextStreamPart

View source

public ErrorPart(string message)

Creates an error part.

Parameters

Name Type Description
message string

View source

public string Message { get; }

Error message.

Value: string

View source

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