Share via


DocumentIntelligenceModelFactory.InnerError Method

Definition

Initializes a new instance of InnerError.

public static Azure.AI.DocumentIntelligence.InnerError InnerError (string code = default, string message = default, Azure.AI.DocumentIntelligence.InnerError innerErrorObject = default);
static member InnerError : string * string * Azure.AI.DocumentIntelligence.InnerError -> Azure.AI.DocumentIntelligence.InnerError
Public Shared Function InnerError (Optional code As String = Nothing, Optional message As String = Nothing, Optional innerErrorObject As InnerError = Nothing) As InnerError

Parameters

code
String

One of a server-defined set of error codes.

message
String

A human-readable representation of the error.

innerErrorObject
InnerError

Inner error.

Returns

A new InnerError instance for mocking.

Applies to