RunError Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The details of an error as encountered by an assistant thread run.
public class RunError : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.RunError>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.RunError>
type RunError = class
interface IJsonModel<RunError>
interface IPersistableModel<RunError>
Public Class RunError
Implements IJsonModel(Of RunError), IPersistableModel(Of RunError)
- Inheritance
-
RunError
- Implements
Properties
Code |
The status for the error. |
Message |
The human-readable text associated with the error. |
Explicit Interface Implementations
IJsonModel<RunError>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<RunError>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<RunError>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<RunError>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<RunError>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET