Package com.azure.core.models
Class ResponseError
java.lang.Object
com.azure.core.models.ResponseError
This class represents the error details of an HTTP response.
-
Constructor Summary
ConstructorDescriptionResponseError
(String code, String message) Creates an instance ofResponseError
. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Returns the error code of this error.Returns the error message of this error.
-
Constructor Details
-
ResponseError
Creates an instance ofResponseError
.- Parameters:
code
- the error code of this error.message
- the error message of this error.
-
-
Method Details
-
getCode
Returns the error code of this error.- Returns:
- the error code of this error.
-
getMessage
Returns the error message of this error.- Returns:
- the error message of this error.
-