RunStepErrorCode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. persistent. models. RunStepErrorCode
- com.
- com.
public final class RunStepErrorCode
extends ExpandableStringEnum<RunStepErrorCode>
Possible error code values attributable to a failed run step.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Run |
RATE_LIMIT_EXCEEDED
Represents an error indicating configured rate limits were exceeded. |
|
static final
Run |
SERVER_ERROR
Represents a server error. |
Constructor Summary
| Constructor | Description |
|---|---|
| RunStepErrorCode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Run |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Run |
fromString(String name)
Creates or finds a Run |
|
static
Collection<Run |
values()
Gets known Run |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
RATE_LIMIT_EXCEEDED
public static final RunStepErrorCode RATE_LIMIT_EXCEEDED
Represents an error indicating configured rate limits were exceeded.
SERVER_ERROR
public static final RunStepErrorCode SERVER_ERROR
Represents a server error.
Constructor Details
RunStepErrorCode
@Deprecated
public RunStepErrorCode()
Deprecated
Creates a new instance of RunStepErrorCode value.
Method Details
fromString
public static RunStepErrorCode fromString(String name)
Creates or finds a RunStepErrorCode from its string representation.
Parameters:
Returns:
values
public static Collection<RunStepErrorCode> values()
Gets known RunStepErrorCode values.
Returns: