public class Error extends Object
Constructor and Description |
---|
Error() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value.
|
List<ErrorDetails> |
details()
Get the details value.
|
String |
innerError()
Get the innerError value.
|
String |
message()
Get the message value.
|
String |
target()
Get the target value.
|
Error |
withCode(String code)
Set the code value.
|
Error |
withDetails(List<ErrorDetails> details)
Set the details value.
|
Error |
withInnerError(String innerError)
Set the innerError value.
|
Error |
withMessage(String message)
Set the message value.
|
Error |
withTarget(String target)
Set the target value.
|
public String code()
public Error withCode(String code)
code
- the code value to setpublic String message()
public Error withMessage(String message)
message
- the message value to setpublic String target()
public Error withTarget(String target)
target
- the target value to setpublic List<ErrorDetails> details()
public Error withDetails(List<ErrorDetails> details)
details
- the details value to setpublic String innerError()
Copyright © 2019. All rights reserved.