public class ErrorResponse extends Object
Constructor and Description |
---|
ErrorResponse() |
Modifier and Type | Method and Description |
---|---|
String |
errorCode()
Get the errorCode value.
|
String |
errorMessage()
Get the errorMessage value.
|
String |
httpStatus()
Get the httpStatus value.
|
ErrorResponse |
withErrorCode(String errorCode)
Set the errorCode value.
|
ErrorResponse |
withErrorMessage(String errorMessage)
Set the errorMessage value.
|
ErrorResponse |
withHttpStatus(String httpStatus)
Set the httpStatus value.
|
public String httpStatus()
public ErrorResponse withHttpStatus(String httpStatus)
httpStatus
- the httpStatus value to setpublic String errorCode()
public ErrorResponse withErrorCode(String errorCode)
errorCode
- the errorCode value to setpublic String errorMessage()
public ErrorResponse withErrorMessage(String errorMessage)
errorMessage
- the errorMessage value to setCopyright © 2019. All rights reserved.