FirebaseFunctionsException

The exception a call through an HttpsCallableReference fails with, mirroring com.google.firebase.functions.FirebaseFunctionsException from the Firebase Android SDK. Plain common code: on Android and the JVM it is a header stub for the SDK's own class.

Types

Link copied to clipboard

The canonical error codes of Google APIs (https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto) a callable HTTPS trigger can fail with. Same order as the Android SDK, whose values are the ordinals.

Properties

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

The canonical error code of the failure.

Link copied to clipboard

code is a member of FirebaseFunctionsException now; this extension keeps an explicit import of it compiling.

Link copied to clipboard
val details: Any?

The details the function sent along with the error, deserialized like HttpsCallableResult.data; null otherwise.

Link copied to clipboard

details is a member of FirebaseFunctionsException now; this extension keeps an explicit import of it compiling.

Link copied to clipboard
expect open val message: String?