GeminiException

class GeminiException(val error: GeminiError) : RuntimeException

Exception thrown when the Gemini API returns an error.

Constructors

Link copied to clipboard
constructor(error: GeminiError)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

The details of the error returned by the API.

Link copied to clipboard
expect open val message: String?