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 problematic regardless of the state of the system (e.g., an invalid field
name).
public static final FirebaseFirestoreException.Code NOT_FOUND
Some requested document was not found.
public static final FirebaseFirestoreException.Code OK
The operation completed successfully. FirebaseFirestoreException
will
never have a status of OK
.
public static final FirebaseFirestoreException.Code OUT_OF_RANGE
Operation was attempted past the valid range.
public static final FirebaseFirestoreException.Code PERMISSION_DENIED
The caller does not have permission to execute the specified operation.
public static final FirebaseFirestoreException.Code RESOURCE_EXHAUSTED
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
public static final FirebaseFirestoreException.Code UNAUTHENTICATED
The request does not have valid authentication credentials for the operation.
public static final FirebaseFirestoreException.Code UNAVAILABLE
The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
public static final FirebaseFirestoreException.Code UNIMPLEMENTED
Operation is not implemented or not supported/enabled.
public static final FirebaseFirestoreException.Code UNKNOWN
Unknown error or an error from a different error domain.