AssistantsModelFactory.RunStepError(RunStepErrorCode, String) Method

Definition

Initializes a new instance of RunStepError.

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

Parameters

code
RunStepErrorCode

The error code for this error.

message
String

The human-readable text associated with this error.

Returns

A new RunStepError instance for mocking.

Applies to