ResponseErrorInfo(ResponseErrorCode, String) Constructor

Definition

Initializes a new instance of ResponseErrorInfo.

public ResponseErrorInfo(Azure.AI.AgentServer.Responses.Models.ResponseErrorCode code, string message);
new Azure.AI.AgentServer.Responses.Models.ResponseErrorInfo : Azure.AI.AgentServer.Responses.Models.ResponseErrorCode * string -> Azure.AI.AgentServer.Responses.Models.ResponseErrorInfo
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