GenerativeAIException


sealed class GenerativeAIException : Exception

既知の直接サブクラス
ConnectionException

接続中にエラーが発生しました。

DownloadException

ダウンロード中にエラーが発生しました。

InferenceException

推論中にエラーが発生しました。

PreparationException

準備中にエラーが発生しました。

TokenizationException

トークン化中にエラーが発生しました。

UnknownException

不明なエラーです。


GenerativeModel で発生するエラーの親クラス。

概要

ネストされた型

GenerativeAIException エラーコードのセット。

保護されたコンストラクタ

GenerativeAIException(
    message: String,
    cause: Throwable?,
    @GenerativeAIException.ErrorCode errorCode: Int
)

公開プロパティ

Int

継承されたプロパティ

kotlin.Throwable から

保護されたコンストラクタ

GenerativeAIException

protected GenerativeAIException(
    message: String,
    cause: Throwable? = null,
    @GenerativeAIException.ErrorCode errorCode: Int
)

公開プロパティ

errorCode

val errorCodeInt