public final class HttpResponseError extends Object
Constructor and Description |
---|
HttpResponseError(String code,
String message)
Creates an instance of
HttpResponseError . |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Returns the error code of this error.
|
List<HttpResponseError> |
getErrorDetails()
Returns a list of details about specific errors that led to this reported error.
|
HttpResponseInnerError |
getInnerError()
Returns the inner error information for this error.
|
String |
getMessage()
Returns the error message of this error.
|
String |
getTarget()
Returns the target of this error.
|
HttpResponseError |
setErrorDetails(List<HttpResponseError> errorDetails)
Sets a list of details about specific errors that led to this reported error.
|
HttpResponseError |
setInnerError(HttpResponseInnerError innerError)
Sets the inner error information for this error.
|
HttpResponseError |
setTarget(String target)
Sets the target of this error.
|
public HttpResponseError(String code, String message)
HttpResponseError
.code
- the error code of this error.message
- the error message of this error.public String getCode()
public String getMessage()
public String getTarget()
public HttpResponseError setTarget(String target)
target
- the target of this error.HttpResponseError
instance.public HttpResponseInnerError getInnerError()
public HttpResponseError setInnerError(HttpResponseInnerError innerError)
innerError
- the inner error for this error.HttpResponseError
instance.public List<HttpResponseError> getErrorDetails()
public HttpResponseError setErrorDetails(List<HttpResponseError> errorDetails)
errorDetails
- the error details.HttpResponseError
instance.Copyright © 2021. All rights reserved.