NoOutputGeneratedException
Namespace: Vercel.AI.GenerateText
public sealed class NoOutputGeneratedException : AiSdkException, ISerializableNo LLM output was generated, for example because a model stream ended without output. Maps to NoOutputGeneratedError.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Constructors
Section titled “Constructors”NoOutputGeneratedException()
Section titled “NoOutputGeneratedException()”public NoOutputGeneratedException()Creates the exception with the default message.
NoOutputGeneratedException(string)
Section titled “NoOutputGeneratedException(string)”public NoOutputGeneratedException(string message)Creates the exception with a message.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string |
NoOutputGeneratedException(string, Exception)
Section titled “NoOutputGeneratedException(string, Exception)”public NoOutputGeneratedException(string message, Exception innerException)Creates the exception with a message and the underlying error.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | |
innerException |
Exception |
Properties
Section titled “Properties”public string Name { get; }Stable error name.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product