SpeechTranslatorResponse.ErrorResponse

public final class SpeechTranslatorResponse.ErrorResponse implements SpeechTranslatorResponse


Represents an error that occurred during translation.

Summary

Public constructors

Public methods

final @NonNull GenAiException

the GenAiException detailing the error.

Public constructors

ErrorResponse

public ErrorResponse(@NonNull GenAiException e)

Public methods

getE

public final @NonNull GenAiException getE()

the GenAiException detailing the error.