public enum UserDataResultError extends java.lang.Enum<UserDataResultError>
Enum Constant and Description |
---|
INTERNAL_SERVER_ERROR
Signifies that the request failed because of an internal server error.
|
QUERY_VALIDATION_ERROR
Signifies that the request failed because of the query validation error.
|
UNAUTHORIZED_ACCESS_ERROR
Signifies that the request failed because the user is not authorized to access the requested resource.
|
UNKNOWN_ERROR
Signifies that the request failed for an unknown reason.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
errorDescription
Returns the detailed description of this error.
|
Modifier and Type | Method and Description |
---|---|
static UserDataResultError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserDataResultError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserDataResultError UNKNOWN_ERROR
public static final UserDataResultError INTERNAL_SERVER_ERROR
public static final UserDataResultError QUERY_VALIDATION_ERROR
public static final UserDataResultError UNAUTHORIZED_ACCESS_ERROR
@NonNull public java.lang.String errorDescription
public static UserDataResultError[] values()
for (UserDataResultError c : UserDataResultError.values()) System.out.println(c);
public static UserDataResultError 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