Sdílet prostřednictvím


ErrorDetail Class

Definition

This is the top-level error object whose code matches the x-ms-error-code response header.

public class ErrorDetail : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Defender.Easm.ErrorDetail>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Defender.Easm.ErrorDetail>
type ErrorDetail = class
    interface IJsonModel<ErrorDetail>
    interface IPersistableModel<ErrorDetail>
Public Class ErrorDetail
Implements IJsonModel(Of ErrorDetail), IPersistableModel(Of ErrorDetail)
Inheritance
ErrorDetail
Implements

Properties

Code

This is one of a server-defined set of error codes.

Details

This is an array of details about specific errors that led to this reported error.

Innererror

This is an object containing more specific information than the current object about the error.

Message

This is a human-readable representation of the error.

Target

This is the error target.

Explicit Interface Implementations

IJsonModel<ErrorDetail>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ErrorDetail>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ErrorDetail>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ErrorDetail>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ErrorDetail>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to