public class Error
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Error.Code
Identifier of the problem.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
code |
protected java.lang.String |
message |
protected java.lang.String |
moreInfo |
protected ErrorTarget |
target |
Constructor and Description |
---|
Error() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Gets the code.
|
java.lang.String |
getMessage()
Gets the message.
|
java.lang.String |
getMoreInfo()
Gets the moreInfo.
|
ErrorTarget |
getTarget()
Gets the target.
|
protected java.lang.String code
protected java.lang.String message
@SerializedName(value="more_info") protected java.lang.String moreInfo
protected ErrorTarget target
public java.lang.String getCode()
Identifier of the problem.
public java.lang.String getMessage()
An explanation of the problem with possible solutions.
public java.lang.String getMoreInfo()
A URL for more information about the solution.
public ErrorTarget getTarget()
Details about the specific area of the problem.