Share via


ResponseError Constructors

Definition

Overloads

Name Description
ResponseError()

Initializes a new instance of ResponseError for deserialization.

ResponseError(ResponseErrorCode, String)

Initializes a new instance of ResponseError.

ResponseError(ResponseErrorCode, String, IDictionary<String,BinaryData>)

Initializes a new instance of ResponseError.

ResponseError()

Source:
ResponseError.cs

Initializes a new instance of ResponseError for deserialization.

public ResponseError();
Public Sub New ()

Applies to

ResponseError(ResponseErrorCode, String)

Source:
ResponseError.cs

Initializes a new instance of ResponseError.

public ResponseError(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseErrorCode code, string message);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseError : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseErrorCode * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseError
Public Sub New (code As ResponseErrorCode, message As String)

Parameters

message
String

A human-readable description of the error.

Exceptions

message is null.

Applies to

ResponseError(ResponseErrorCode, String, IDictionary<String,BinaryData>)

Source:
ResponseError.cs

Initializes a new instance of ResponseError.

public ResponseError(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseErrorCode code, string message, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseError : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseErrorCode * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseError
Public Sub New (code As ResponseErrorCode, message As String, serializedAdditionalRawData As IDictionary(Of String, BinaryData))

Parameters

message
String

A human-readable description of the error.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

Applies to