共用方式為


RunStepError Class

Definition

The error information associated with a failed run step.

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

Properties

Code

The error code for this error.

Message

The human-readable text associated with this error.

Explicit Interface Implementations

IJsonModel<RunStepError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunStepError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunStepError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunStepError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunStepError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to