ResponseErrorInfo(ResponseErrorCode, String) Constructor
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.
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
- code
- ResponseErrorCode
- message
- String
A human-readable description of the error.
Exceptions
message is null.