Skip to content

NoOutputGeneratedException

Namespace: Vercel.AI.GenerateText

public sealed class NoOutputGeneratedException : AiSdkException, ISerializable

No LLM output was generated, for example because a model stream ended without output. Maps to NoOutputGeneratedError.

Inheritance: object → Exception → AiSdkException

Implements: ISerializable

View source

public NoOutputGeneratedException()

Creates the exception with the default message.

View source

public NoOutputGeneratedException(string message)

Creates the exception with a message.

Parameters

Name Type Description
message string

View source

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

View source

public string Name { get; }

Stable error name.

Value: string

View source

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