ODataV4Error

Represents an OData error payload.

Syntax

public class ODataV4Error

Inheritance

Properties

Code

[JsonPropertyName("code")]
public string Code { get; set; }
Gets or sets the error code to be used in payloads.

Returns

string

Details

[JsonPropertyName("details")]
public List<ODataV4ErrorDetail> Details { get; set; }
Gets or sets a collection of additional error details providing more specific information about the error. This property may contain multiple error details for scenarios with multiple validation failures.

Returns

List<ODataV4ErrorDetail>

InnerError

[JsonPropertyName("innererror")]
public ODataV4InnerError InnerError { get; set; }
>Gets or sets the implementation-specific debugging information to help determine the cause of the error.

Returns

ODataV4InnerError

Message

[JsonPropertyName("message")]
public string Message { get; set; }
Gets or sets the error message.

Returns

string

Target

[JsonPropertyName("target")]
public string Target { get; set; }
Gets or sets the target of the particular error.

Returns

string