Package com.azure.core.models
Class ResponseError
- java.lang.Object
-
- com.azure.core.models.ResponseError
-
public final class ResponseError extends Object
This class represents the error details of an HTTP response.
-
-
Constructor Summary
Constructors Constructor Description ResponseError(String code, String message)
Creates an instance ofResponseError
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Returns the error code of this error.String
getMessage()
Returns the error message of this error.
-
-
-
Constructor Detail
-
ResponseError
public ResponseError(String code, String message)
Creates an instance ofResponseError
.- Parameters:
code
- the error code of this error.message
- the error message of this error.
-
-