FirebaseVertexAIException

abstract class FirebaseVertexAIException : RuntimeException

Known direct subclasses
AudioRecordInitializationFailedException

Audio record initialization failures for audio streaming

ContentBlockedException
InvalidAPIKeyException

The provided API Key is not valid.

InvalidLocationException

The specified Vertex AI location is invalid.

InvalidStateException

Some form of state occurred that shouldn't have.

PromptBlockedException

A request was blocked.

QuotaExceededException

The request has hit a quota limit.

RequestTimeoutException

A request took too long to complete.

ResponseStoppedException

A request was stopped during generation for some reason.

SerializationException

Something went wrong while trying to deserialize a response from the server.

ServerException

The server responded with a non 200 response code.

ServiceConnectionHandshakeFailedException

Handshake failed with the server

ServiceDisabledException

The service is not enabled for this Firebase project.

SessionAlreadyReceivingException

Streaming session already receiving.

UnknownException

Catch all case for exceptions not explicitly expected.

UnsupportedUserLocationException

The user's location (region) is not supported by the API.


Parent class for any errors that occur from the FirebaseVertexAI SDK.

Summary

Inherited properties

From kotlin.Throwable