FirebaseFirestoreException

public class FirebaseFirestoreException extends FirebaseException

A class of exceptions thrown by Firestore

Nested Class Summary

enum FirebaseFirestoreException.Code The set of Firestore status codes. 

Public Constructor Summary

Public Method Summary

FirebaseFirestoreException.Code
getCode()
Gets the error code for the 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 Firestore operation that failed.

Returns
  • the code for the FirebaseFirestoreException

Send feedback about...

Need help? Visit our support page.