public static enum ErrorMap.ErrorAttribute extends Enum<ErrorMap.ErrorAttribute>
Enum Constant and Description |
---|
AUTH
The operation failed because the client failed to authenticate or is not authorized
to perform this operation.
|
AUTO_RETRY
Use retry specifications from the server.
|
CONN_STATE_INVALIDATED
The current connection is no longer valid.
|
DCP
The error is related to the DCP subsystem.
|
FETCH_CONFIG
The client's cluster map may be outdated and requires updating.
|
INTERNAL
This is an internal error in the server.
|
INVALID_INPUT
This attribute means that a user's input was invalid because it
violates the semantics of the operation, or exceeds some predefined
limit.
|
ITEM_DELETED
This attribute means that the error is related
to operating on a soft-deleted document.
|
ITEM_LOCKED
This attribute specifies that the requested item is currently locked.
|
ITEM_ONLY
This attribute means that the error is related to a constraint
failure regarding the item itself, i.e.
|
RETRY_LATER
The operation may be retried after some time.
|
RETRY_NOW
The operation may be retried immediately.
|
SPECIAL_HANDLING
This error code must be handled specially.
|
SUBDOC
The error is related to the subdocument subsystem.
|
SUCCESS
The operation was successful for those situations
where the error code is indicating successful (i.e.
|
SUPPORT
The operation is not supported, possibly because the of server version, bucket type, or
current user.
|
TEMP
This error is transient.
|
Modifier and Type | Method and Description |
---|---|
String |
raw() |
static ErrorMap.ErrorAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorMap.ErrorAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorMap.ErrorAttribute SUCCESS
public static final ErrorMap.ErrorAttribute ITEM_ONLY
public static final ErrorMap.ErrorAttribute INVALID_INPUT
public static final ErrorMap.ErrorAttribute FETCH_CONFIG
public static final ErrorMap.ErrorAttribute CONN_STATE_INVALIDATED
public static final ErrorMap.ErrorAttribute AUTH
public static final ErrorMap.ErrorAttribute SPECIAL_HANDLING
public static final ErrorMap.ErrorAttribute SUPPORT
public static final ErrorMap.ErrorAttribute TEMP
public static final ErrorMap.ErrorAttribute INTERNAL
public static final ErrorMap.ErrorAttribute RETRY_NOW
public static final ErrorMap.ErrorAttribute RETRY_LATER
public static final ErrorMap.ErrorAttribute SUBDOC
public static final ErrorMap.ErrorAttribute DCP
public static final ErrorMap.ErrorAttribute AUTO_RETRY
public static final ErrorMap.ErrorAttribute ITEM_LOCKED
public static final ErrorMap.ErrorAttribute ITEM_DELETED
public static ErrorMap.ErrorAttribute[] values()
for (ErrorMap.ErrorAttribute c : ErrorMap.ErrorAttribute.values()) System.out.println(c);
public static ErrorMap.ErrorAttribute valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String raw()
Copyright © 2020 Couchbase, Inc.. All rights reserved.