Package-level declarations

Error types for the Google GenAI SDK.

Types

Link copied to clipboard
public class ApiException extends BaseException
General exception class for all exceptions originating from the GenAI API side.
Link copied to clipboard
public final class ClientException extends ApiException
Client exception raised by the GenAI API.
Link copied to clipboard
public final class GenAiIOException extends BaseException
IO exception raised in the GenAI SDK.
Link copied to clipboard
public final class ServerException extends ApiException
Server exception raised by the GenAI API.