Share via


DocumentIntelligenceError Class

Definition

The error object.

public class DocumentIntelligenceError : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.DocumentIntelligenceError>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.DocumentIntelligenceError>
type DocumentIntelligenceError = class
    interface IJsonModel<DocumentIntelligenceError>
    interface IPersistableModel<DocumentIntelligenceError>
Public Class DocumentIntelligenceError
Implements IJsonModel(Of DocumentIntelligenceError), IPersistableModel(Of DocumentIntelligenceError)
Inheritance
DocumentIntelligenceError
Implements

Properties

Code

One of a server-defined set of error codes.

Details

An array of details about specific errors that led to this reported error.

Innererror

An object containing more specific information than the current object about the error.

Message

A human-readable representation of the error.

Target

The target of the error.

Explicit Interface Implementations

IJsonModel<DocumentIntelligenceError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentIntelligenceError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentIntelligenceError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentIntelligenceError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentIntelligenceError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to