Package | Description |
---|---|
net.hrider.api |
Modifier and Type | Method and Description |
---|---|
ApiError.Code |
ApiError.getCode() |
static ApiError.Code |
ApiError.Code.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiError.Code[] |
ApiError.Code.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ApiError |
ApiError.setCode(ApiError.Code code) |
Constructor and Description |
---|
ApiError(int status,
ApiError.Code code,
java.lang.String message) |
ApiError(int status,
ApiError.Code code,
java.lang.String message,
java.lang.String description) |