ErrorResponse Class
- java.
lang. Object - com.
microsoft. azure. management. resources. ErrorResponse
- com.
public class ErrorResponse
Error Response. Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
Constructor Summary
Constructor | Description | |
---|---|---|
ErrorResponse() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Error |
additionalInfo()
Get the error additional info. |
java.lang.String |
code()
Get the error code. |
java.util.List<Error |
details()
Get the error details. |
java.lang.String |
message()
Get the error message. |
java.lang.String |
target()
Get the error target. |
Methods inherited from java.lang.Object
Constructor Details
ErrorResponse
public ErrorResponse()
Method Details
additionalInfo
public List
Get the error additional info.
Returns:
code
public String code()
Get the error code.
Returns:
details
public List
Get the error details.
Returns:
message
public String message()
Get the error message.
Returns:
target
public String target()
Get the error target.
Returns:
Applies to
Azure SDK for Java