FirebaseFirestoreException.Code

public static final enum FirebaseFirestoreException.Code extends Enum<FirebaseFirestoreException.Code>

The set of Cloud Firestore status codes. The codes are the same at the ones exposed by gRPC here: //github.com/grpc/grpc/blob/master/doc/statuscodes.md

Inherited Method Summary

Enum Values

public static final FirebaseFirestoreException.Code ABORTED

The operation was aborted, typically due to a concurrency issue like transaction aborts, etc.

public static final FirebaseFirestoreException.Code ALREADY_EXISTS

Some document that we attempted to create already exists.

public static final FirebaseFirestoreException.Code CANCELLED

The operation was cancelled (typically by the caller).

public static final FirebaseFirestoreException.Code DATA_LOSS

Unrecoverable data loss or corruption.

public static final FirebaseFirestoreException.Code DEADLINE_EXCEEDED

Deadline expired before operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire.

public static final FirebaseFirestoreException.Code FAILED_PRECONDITION

Operation was rejected because the system is not in a state required for the operation's execution.

public static final FirebaseFirestoreException.Code INTERNAL

Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken.

public static final FirebaseFirestoreException.Code INVALID_ARGUMENT

Client specified an invalid argument. Note that this differs from FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments that are problemat