ErrorCode Stay organized with collections Save and categorize content based on your preferences.
Platform-wide error codes that can be raised by Admin SDK APIs.
Inherited Method Summary
| final Object | clone() |
| final int | compareTo(E arg0) |
| int | compareTo(Object arg0) |
| final boolean | equals(Object arg0) |
| final void | finalize() |
| final Class<E> | getDeclaringClass() |
| final int | hashCode() |
| final String | name() |
| final int | ordinal() |
| String | toString() |
| static <T extends Enum<T>> T | valueOf(Class<T> arg0, String arg1) |
| Object | clone() |
| boolean | equals(Object arg0) |
| void | finalize() |
| final Class<?> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |
| abstract int | compareTo(T arg0) |
Enum Values
public static final ErrorCodeABORTED
Concurrency conflict, such as read-modify-write conflict.
public static final ErrorCodeALREADY_EXISTS
The resource that a client tried to create already exists.
public static final ErrorCodeCANCELLED
Request cancelled by the client.
public static final ErrorCodeCONFLICT
Concurrency conflict, such as read-modify-write conflict.
public static final ErrorCodeDATA_LOSS
Unrecoverable data loss or data corruption. The client should report the error to the user.
public static final ErrorCodeDEADLINE_EXCEEDED
Request deadline exceeded. This happens only if the caller sets a deadline that is shorter than the method's default deadline (i.e. requested deadline is not enough for the server to process the request) and the request did not finish within the deadline.
public static final ErrorCodeFAILED_PRECONDITION
Request cannot be executed in the current system state, such as deleting a non-empty directory.
public static final ErrorCodeINTERNAL
Internal server error. Typically a server bug.
public static final ErrorCodeINVALID_ARGUMENT
Client specified an invalid argument.
public static final ErrorCodeNOT_FOUND
A specified resource is not found, or the request is rejected for unknown reasons, such as a blocked network address.
public static final ErrorCodeOUT_OF_RANGE
Client specified an invalid range.
public static final ErrorCodePERMISSION_DENIED
Client does not have sufficient permission. This can happen because the OAuth token does not have the right scopes, the client doesn't have permission, or the API has not been enabled for the client project.
public static final ErrorCodeRESOURCE_EXHAUSTED
Either out of resource quota or rate limited.
public static final ErrorCodeUNAUTHENTICATED
Request not authenticated due to missing, invalid, or expired OAuth token.
public static final ErrorCodeUNAVAILABLE
Service unavailable. Typically the server is down.
public static final ErrorCodeUNKNOWN
Unknown server error. Typically a server bug.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-28 UTC.