Partager via


InnerErrorModel Class

Definition

An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

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

Properties

Code

One of a server-defined set of error codes.

Details

Error details.

Innererror

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

Message

Error message.

Target

Error target.

Explicit Interface Implementations

IJsonModel<InnerErrorModel>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<InnerErrorModel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InnerErrorModel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InnerErrorModel>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InnerErrorModel>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to