public class ApiErrorBase extends Object
Constructor and Description |
---|
ApiErrorBase() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the error code.
|
String |
message()
Get the error message.
|
String |
target()
Get the target of the particular error.
|
ApiErrorBase |
withCode(String code)
Set the error code.
|
ApiErrorBase |
withMessage(String message)
Set the error message.
|
ApiErrorBase |
withTarget(String target)
Set the target of the particular error.
|
public String code()
public ApiErrorBase withCode(String code)
code
- the code value to setpublic String target()
public ApiErrorBase withTarget(String target)
target
- the target value to setpublic String message()
public ApiErrorBase withMessage(String message)
message
- the message value to setCopyright © 2019. All rights reserved.