Class ErrorDefinition
java.lang.Object
com.azure.resourcemanager.workloads.models.ErrorDefinition
Error definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Service specific error code which serves as the substatus for the HTTP error code.details()
Get the details property: Internal error details.message()
Get the message property: Description of the error.void
validate()
Validates the instance.
-
Constructor Details
-
ErrorDefinition
public ErrorDefinition()
-
-
Method Details
-
code
Get the code property: Service specific error code which serves as the substatus for the HTTP error code.- Returns:
- the code value.
-
message
Get the message property: Description of the error.- Returns:
- the message value.
-
details
Get the details property: Internal error details.- Returns:
- the details value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-