Class RunStepErrorCode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RunStepErrorCode>
com.azure.ai.openai.assistants.models.RunStepErrorCode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class RunStepErrorCode
extends com.azure.core.util.ExpandableStringEnum<RunStepErrorCode>
Possible error code values attributable to a failed run step.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RunStepErrorCode
Represents an error indicating configured rate limits were exceeded.static final RunStepErrorCode
Represents a server error. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RunStepErrorCode
fromString
(String name) Creates or finds a RunStepErrorCode from its string representation.static Collection
<RunStepErrorCode> values()
Gets known RunStepErrorCode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SERVER_ERROR
Represents a server error. -
RATE_LIMIT_EXCEEDED
Represents an error indicating configured rate limits were exceeded.
-
-
Constructor Details
-
RunStepErrorCode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of RunStepErrorCode value.
-
-
Method Details
-
fromString
Creates or finds a RunStepErrorCode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding RunStepErrorCode.
-
values
Gets known RunStepErrorCode values.- Returns:
- known RunStepErrorCode values.
-
fromString(String)
factory method.