Class ErrorResponse


  • public final class ErrorResponse
    extends Object
    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 Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • getCode

        public String getCode()
        Get the code property: The error code.
        Returns:
        the code value.
      • getMessage

        public String getMessage()
        Get the message property: The error message.
        Returns:
        the message value.
      • getTarget

        public String getTarget()
        Get the target property: The error target.
        Returns:
        the target value.
      • getDetails

        public List<ErrorResponse> getDetails()
        Get the details property: The error details.
        Returns:
        the details value.
      • getAdditionalInfo

        public List<ErrorAdditionalInfo> getAdditionalInfo()
        Get the additionalInfo property: The error additional info.
        Returns:
        the additionalInfo value.