ErrorPart
Namespace: Vercel.AI
public sealed class ErrorPart : TextStreamPartThe stream failed.
Inheritance: object → TextStreamPart
Constructors
Section titled “Constructors”ErrorPart(string)
Section titled “ErrorPart(string)”public ErrorPart(string message)Creates an error part.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string |
Properties
Section titled “Properties”Message
Section titled “Message”public string Message { get; }Error message.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product