public static enum Error.Code extends java.lang.Enum<Error.Code>
| Enum Constant and Description |
|---|
FORBIDDEN |
INVALID_INPUT |
JSON_ERROR |
LOCKED |
NOT_FOUND |
RATE_LIMIT_EXCEEDED |
RESOURCE_LIMIT_EXCEEDED |
RESOURCE_UNAVAILABLE |
SERVICE_ERROR |
UNIQUENESS_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static Error.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Error.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error.Code FORBIDDEN
public static final Error.Code INVALID_INPUT
public static final Error.Code JSON_ERROR
public static final Error.Code LOCKED
public static final Error.Code NOT_FOUND
public static final Error.Code RATE_LIMIT_EXCEEDED
public static final Error.Code RESOURCE_LIMIT_EXCEEDED
public static final Error.Code RESOURCE_UNAVAILABLE
public static final Error.Code SERVICE_ERROR
public static final Error.Code UNIQUENESS_ERROR
public static Error.Code[] values()
for (Error.Code c : Error.Code.values()) System.out.println(c);
public static Error.Code valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null