public class FirebaseFirestoreException extends FirebaseException

A class of exceptions thrown by Cloud Firestore.

Nested Class Summary

enum FirebaseFirestoreException.Code The set of Cloud Firestore status codes. 

Public Constructor Summary

Public Method Summary

FirebaseFirestoreException.Code
getCode()
Gets the error code for the Cloud Firestore operation that failed.

Inherited Method Summary

Public Constructors

public FirebaseFirestoreException (String detailMessage, FirebaseFirestoreException.Code code)

Parameters
detailMessage
code

public FirebaseFirestoreException (String detailMessage, FirebaseFirestoreException.Code code, Throwable cause)

Parameters
detailMessage
code
cause

Public Methods

public FirebaseFirestoreException.Code getCode ()

Gets the error code for the Cloud Firestore operation that failed.

Returns
  • the code for the FirebaseFirestoreException.