Class FirestoreException


public class FirestoreException extends RuntimeException
The error a Firestore or Remote Config request completes with when the server rejects it or cannot be reached.
  • Constructor Details

    • FirestoreException

      public FirestoreException(int status, String message)

      Creates an exception.

      Parameters
      • status: the HTTP status, or 0 for a network failure

      • message: the server message or response body

  • Method Details

    • getStatus

      public int getStatus()
      Returns

      the HTTP status, or 0 for a network failure