FirebaseFirestoreException | Doclava
public class

FirebaseFirestoreException

extends FirebaseException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.firebase.FirebaseException
         ↳ com.google.firebase.firestore.FirebaseFirestoreException

Class Overview

A class of exceptions thrown by Firestore

Summary

Nested Classes
enum FirebaseFirestoreException.Code The set of Firestore status codes. 
Public Constructors
FirebaseFirestoreException(String detailMessage, FirebaseFirestoreException.Code code)
FirebaseFirestoreException(String detailMessage, FirebaseFirestoreException.Code code, Throwable cause)
Public Methods
FirebaseFirestoreException.Code getCode()
Gets the error code for the Firestore operation that failed.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public FirebaseFirestoreException (String detailMessage, FirebaseFirestoreException.Code code)

Parameters
detailMessage String

code FirebaseFirestoreException.Code

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

Parameters
detailMessage String

code FirebaseFirestoreException.Code

cause Throwable

Public Methods

public FirebaseFirestoreException.Code getCode ()

Gets the error code for the Firestore operation that failed.

Returns
FirebaseFirestoreException.Code the code for the FirebaseFirestoreException