Delen via


ErrorResponse Class

Definition

Error Response.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ErrorResponse
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ErrorResponse = class
Public Class ErrorResponse
Inheritance
ErrorResponse
Attributes

Constructors

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

ErrorResponse(String, String, IList<ErrorFieldContract>)

Initializes a new instance of the ErrorResponse class.

Properties

Code

Gets or sets service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.

Details

Gets or sets the list of invalid fields send in request, in case of validation error.

Message

Gets or sets human-readable representation of the error.

Applies to