Skip to content

NoTranslationGeneratedException

Namespace: Vercel.AI.Operations

public sealed class NoTranslationGeneratedException : AiSdkException, ISerializable

No translation text or audio was produced.

Inheritance: object → Exception → AiSdkException

Implements: ISerializable

View source

NoTranslationGeneratedException(ProviderResponse)

Section titled “NoTranslationGeneratedException(ProviderResponse)”
public NoTranslationGeneratedException(ProviderResponse response)

Creates the exception.

Parameters

Name Type Description
response ProviderResponse

View source

public ProviderResponse Response { get; }

Provider response included with the failure.

Value: ProviderResponse

View source

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