FirebaseFunctionsException.Code

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

The set of error status codes that can be returned from a Callable HTTPS tigger. These are the canonical error codes for Google APIs, as documented here: //github.com/googleapis/googleapis/blob/master/google/rpc/code.proto#L26

Inherited Method Summary

Enum Values

public static final FirebaseFunctionsException.Code ABORTED

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

public static final FirebaseFunctionsException.Code ALREADY_EXISTS

Some document that we attempted to create already exists.

public static final FirebaseFunctionsException.Code CANCELLED

The operation was cancelled (typically by the caller).

public static final FirebaseFunctionsException.Code DATA_LOSS

Unrecoverable data loss or corruption.

public static final FirebaseFunctionsException.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 FirebaseFunctionsException.Code FAILED_PRECONDITION

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

public static final FirebaseFunctionsException.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 FirebaseFunctionsException.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 FirebaseFunctionsException.Code NOT_FOUND

Some requested document was not found.

public static final FirebaseFunctionsException.Code OK

The operation completed successfully. FirebaseFunctionsException will never have a status of OK.

public static final FirebaseFunctionsException.Code OUT_OF_RANGE

Operation was attempted past the valid range.

public static final FirebaseFunctionsException.Code PERMISSION_DENIED

The caller does not have permission to execute the specified operation.

public static final FirebaseFunctionsException.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 FirebaseFunctionsException.Code UNAUTHENTICATED

The request does not have valid authentication credentials for the operation.

public static final FirebaseFunctionsException.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 FirebaseFunctionsException.Code UNIMPLEMENTED

Operation is not implemented or not supported/enabled.

public static final FirebaseFunctionsException.Code UNKNOWN

Unknown error or an error from a different error domain.

Send feedback about...

Need help? Visit our support page.