次の方法で共有


AssistantsModelFactory.RunError(String, String) Method

Definition

Initializes a new instance of RunError.

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

Parameters

code
String

The status for the error.

message
String

The human-readable text associated with the error.

Returns

A new RunError instance for mocking.

Applies to