Stay organized with collections
Save and categorize content based on your preferences.
public final enum
ErrorCode
extends Enum<E extends Enum<E>>
Platform-wide error codes that can be raised by Admin SDK APIs.
Inherited Method Summary
From class
java.lang.Enum
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)
From class
java.lang.Object
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()
From interface
java.lang.Comparable
abstract
int
compareTo(T arg0)
Enum Values
public
static
final
ErrorCode
ABORTED
Concurrency conflict, such as read-modify-write conflict.
public
static
final
ErrorCode
ALREADY_EXISTS
The resource that a client tried to create already exists.
public
static
final
ErrorCode
CANCELLED
Request cancelled by the client.
public
static
final
ErrorCode
CONFLICT
Concurrency conflict, such as read-modify-write conflict.
public
static
final
ErrorCode
DATA_LOSS
Unrecoverable data loss or data corruption. The client should report the error to the user.
public
static
final
ErrorCode
DEADLINE_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
ErrorCode
FAILED_PRECONDITION
Request cannot be executed in the current system state, such as deleting a non-empty
directory.
public
static
final
ErrorCode
INTERNAL
Internal server error. Typically a server bug.
public
static
final
ErrorCode
INVALID_ARGUMENT
Client specified an invalid argument.
public
static
final
ErrorCode
NOT_FOUND
A specified resource is not found, or the request is rejected for unknown reasons,
such as a blocked network address.
public
static
final
ErrorCode
OUT_OF_RANGE
Client specified an invalid range.
public
static
final
ErrorCode
PERMISSION_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
ErrorCode
RESOURCE_EXHAUSTED
Either out of resource quota or rate limited.
public
static
final
ErrorCode
UNAUTHENTICATED
Request not authenticated due to missing, invalid, or expired OAuth token.
public
static
final
ErrorCode
UNAVAILABLE
Service unavailable. Typically the server is down.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-04-28 UTC."],[],[],null,["# ErrorCode\n\npublic final enum **ErrorCode** extends Enum\\\u003cE extends Enum\\\u003cE\\\u003e\\\u003e \nPlatform-wide error codes that can be raised by Admin SDK APIs. \n\n### Inherited Method Summary\n\nFrom class java.lang.Enum \n\n|----------------------------------|---------------------------------------|\n| final Object | clone() |\n| final int | compareTo(E arg0) |\n| int | compareTo(Object arg0) |\n| final boolean | equals(Object arg0) |\n| final void | finalize() |\n| final Class\\\u003cE\\\u003e | getDeclaringClass() |\n| final int | hashCode() |\n| final String | name() |\n| final int | ordinal() |\n| String | toString() |\n| static \\\u003cT extends Enum\\\u003cT\\\u003e\\\u003e T | valueOf(Class\\\u003cT\\\u003e arg0, String arg1) |\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| Object | clone() |\n| boolean | equals(Object arg0) |\n| void | finalize() |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface java.lang.Comparable \n\n|--------------|-------------------|\n| abstract int | compareTo(T arg0) |\n\nEnum Values\n-----------\n\n#### public static final ErrorCode\n**ABORTED**\n\nConcurrency conflict, such as read-modify-write conflict. \n\n#### public static final ErrorCode\n**ALREADY_EXISTS**\n\nThe resource that a client tried to create already exists. \n\n#### public static final ErrorCode\n**CANCELLED**\n\nRequest cancelled by the client. \n\n#### public static final ErrorCode\n**CONFLICT**\n\nConcurrency conflict, such as read-modify-write conflict. \n\n#### public static final ErrorCode\n**DATA_LOSS**\n\nUnrecoverable data loss or data corruption. The client should report the error to the user. \n\n#### public static final ErrorCode\n**DEADLINE_EXCEEDED**\n\nRequest deadline exceeded. This happens only if the caller sets a deadline that is\nshorter than the method's default deadline (i.e. requested deadline is not enough for the\nserver to process the request) and the request did not finish within the deadline. \n\n#### public static final ErrorCode\n**FAILED_PRECONDITION**\n\nRequest cannot be executed in the current system state, such as deleting a non-empty\ndirectory. \n\n#### public static final ErrorCode\n**INTERNAL**\n\nInternal server error. Typically a server bug. \n\n#### public static final ErrorCode\n**INVALID_ARGUMENT**\n\nClient specified an invalid argument. \n\n#### public static final ErrorCode\n**NOT_FOUND**\n\nA specified resource is not found, or the request is rejected for unknown reasons,\nsuch as a blocked network address. \n\n#### public static final ErrorCode\n**OUT_OF_RANGE**\n\nClient specified an invalid range. \n\n#### public static final ErrorCode\n**PERMISSION_DENIED**\n\nClient does not have sufficient permission. This can happen because the OAuth token does\nnot have the right scopes, the client doesn't have permission, or the API has not been\nenabled for the client project. \n\n#### public static final ErrorCode\n**RESOURCE_EXHAUSTED**\n\nEither out of resource quota or rate limited. \n\n#### public static final ErrorCode\n**UNAUTHENTICATED**\n\nRequest not authenticated due to missing, invalid, or expired OAuth token. \n\n#### public static final ErrorCode\n**UNAVAILABLE**\n\nService unavailable. Typically the server is down. \n\n#### public static final ErrorCode\n**UNKNOWN**\n\nUnknown server error. Typically a server bug."]]