public static enum ApiError.Code extends java.lang.Enum<ApiError.Code>
Enum Constant and Description |
---|
E001
Object doesn't exist.
|
E002
Not authorized.
|
E003
Request invalid.
|
E004
Upload exceeds maximum size.
|
E005
Conflict (e.g. another employee exists with this external-id)
|
E006
URL endpoint doesn't exist
|
E007
Method not allowed
|
E008
Not acceptable
|
E999
Unknown error.
|
Modifier and Type | Method and Description |
---|---|
static ApiError.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiError.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiError.Code E001
public static final ApiError.Code E002
public static final ApiError.Code E003
public static final ApiError.Code E004
public static final ApiError.Code E005
public static final ApiError.Code E006
public static final ApiError.Code E007
public static final ApiError.Code E008
public static final ApiError.Code E999
public static ApiError.Code[] values()
for (ApiError.Code c : ApiError.Code.values()) System.out.println(c);
public static ApiError.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