Class ErrorResponse

java.lang.Object
com.microsoft.azure.management.resources.ErrorResponse

public 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 Details

    • ErrorResponse

      public ErrorResponse()
  • Method Details

    • code

      public String code()
      Get the error code.
      Returns:
      the code value
    • message

      public String message()
      Get the error message.
      Returns:
      the message value
    • target

      public String target()
      Get the error target.
      Returns:
      the target value
    • details

      public List<ErrorResponse> details()
      Get the error details.
      Returns:
      the details value
    • additionalInfo

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