Package | Description |
---|---|
com.azure.core.exception |
Package containing core exception classes.
|
com.azure.core.models |
Package containing core model classes.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseError |
HttpResponseException.getError()
Returns the
HttpResponseError containing the error details that caused this exception. |
Constructor and Description |
---|
HttpResponseException(String message,
HttpResponse response,
HttpResponseError error)
Initializes a new instance of the HttpResponseException class.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseError |
HttpResponseError.setErrorDetails(List<HttpResponseError> errorDetails)
Sets a list of details about specific errors that led to this reported error.
|
HttpResponseError |
HttpResponseError.setInnerError(HttpResponseInnerError innerError)
Sets the inner error information for this error.
|
HttpResponseError |
HttpResponseError.setTarget(String target)
Sets the target of this error.
|
Copyright © 2021. All rights reserved.