ErrorResponse Class

Definition

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

public class ErrorResponse
type ErrorResponse = class
Public Class ErrorResponse
Inheritance
ErrorResponse

Remarks

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

Constructors

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

ErrorResponse(String, String, String, IList<ErrorResponse>, IList<ErrorAdditionalInfo>)

Initializes a new instance of the ErrorResponse class.

Properties

AdditionalInfo

Gets the error additional info.

Code

Gets the error code.

Details

Gets the error details.

Message

Gets the error message.

Target

Gets the error target.

Extension Methods

ToFormattedString(ErrorResponse, Int32)
ToPSResourceManagerError(ErrorResponse)

Applies to