Error 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 Error.
public class Error : System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.Error>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.Error>
type Error = class
interface IJsonModel<Error>
interface IPersistableModel<Error>
Public Class Error
Implements IJsonModel(Of Error), IPersistableModel(Of Error)
- Inheritance
-
Error
- Implements
Constructors
| Name | Description |
|---|---|
| Error(String, String) |
Initializes a new instance of Error. |
Properties
| Name | Description |
|---|---|
| AdditionalInfo |
Gets the AdditionalInfo. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
| Code |
Gets or sets the Code. |
| DebugInfo |
Gets the DebugInfo. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
| Details |
Gets the Details. |
| Message |
Gets or sets the Message. |
| Param |
Gets or sets the Param. |
| Type |
Gets or sets the Type. |