public class ApiError extends Object
Constructor and Description |
---|
ApiError() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the error code.
|
List<ApiErrorBase> |
details()
Get the Api error details.
|
InnerError |
innererror()
Get the Api inner error.
|
String |
message()
Get the error message.
|
String |
target()
Get the target of the particular error.
|
ApiError |
withCode(String code)
Set the error code.
|
ApiError |
withDetails(List<ApiErrorBase> details)
Set the Api error details.
|
ApiError |
withInnererror(InnerError innererror)
Set the Api inner error.
|
ApiError |
withMessage(String message)
Set the error message.
|
ApiError |
withTarget(String target)
Set the target of the particular error.
|
public List<ApiErrorBase> details()
public ApiError withDetails(List<ApiErrorBase> details)
details
- the details value to setpublic InnerError innererror()
public ApiError withInnererror(InnerError innererror)
innererror
- the innererror value to setpublic String code()
public ApiError withCode(String code)
code
- the code value to setpublic String target()
public ApiError withTarget(String target)
target
- the target value to setpublic String message()
Copyright © 2019. All rights reserved.