Enum Constant and Description |
---|
GOCARDLESS
An internal error occurred while processing your request.
|
INVALID_API_USAGE
This is an error with the request you made.
|
INVALID_STATE
The action you are trying to perform is invalid due to the state of the
resource you are requesting it on.
|
VALIDATION_FAILED
The parameters submitted with your request were invalid.
|
Modifier and Type | Method and Description |
---|---|
static ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="gocardless") public static final ErrorType GOCARDLESS
@SerializedName(value="invalid_api_usage") public static final ErrorType INVALID_API_USAGE
@SerializedName(value="invalid_state") public static final ErrorType INVALID_STATE
@SerializedName(value="validation_failed") public static final ErrorType VALIDATION_FAILED
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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