Class ErrorResponse
java.lang.Object
com.azure.ai.anomalydetector.models.ErrorResponse
ErrorResponse contains code and message that shows the error information.
-
Constructor Summary
ConstructorDescriptionErrorResponse
(String code, String message) Creates an instance of ErrorResponse class. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Get the code property: The error code.Get the message property: The message explaining the error reported by the service.
-
Constructor Details
-
ErrorResponse
Creates an instance of ErrorResponse class.- Parameters:
code
- the code value to set.message
- the message value to set.
-
-
Method Details
-
getCode
Get the code property: The error code.- Returns:
- the code value.
-
getMessage
Get the message property: The message explaining the error reported by the service.- Returns:
- the message value.
-