Share via


ConversationsModelFactory.InnerErrorModel Method

Definition

Initializes a new instance of InnerErrorModel.

public static Azure.AI.Language.Conversations.Models.InnerErrorModel InnerErrorModel (Azure.AI.Language.Conversations.Models.InnerErrorCode code = default, string message = default, System.Collections.Generic.IReadOnlyDictionary<string,string> details = default, string target = default, Azure.AI.Language.Conversations.Models.InnerErrorModel innererror = default);
static member InnerErrorModel : Azure.AI.Language.Conversations.Models.InnerErrorCode * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Azure.AI.Language.Conversations.Models.InnerErrorModel -> Azure.AI.Language.Conversations.Models.InnerErrorModel
Public Shared Function InnerErrorModel (Optional code As InnerErrorCode = Nothing, Optional message As String = Nothing, Optional details As IReadOnlyDictionary(Of String, String) = Nothing, Optional target As String = Nothing, Optional innererror As InnerErrorModel = Nothing) As InnerErrorModel

Parameters

code
InnerErrorCode

One of a server-defined set of error codes.

message
String

Error message.

details
IReadOnlyDictionary<String,String>

Error details.

target
String

Error target.

innererror
InnerErrorModel

An object containing more specific information than the current object about the error.

Returns

A new InnerErrorModel instance for mocking.

Applies to