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 Details

    • SERVER_ERROR

      public static final RunStepErrorCode SERVER_ERROR
      Represents a server error.
    • RATE_LIMIT_EXCEEDED

      public static final RunStepErrorCode RATE_LIMIT_EXCEEDED
      Represents an error indicating configured rate limits were exceeded.
  • Constructor Details

    • RunStepErrorCode

      @Deprecated public RunStepErrorCode()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding RunStepErrorCode.
    • values

      public static Collection<RunStepErrorCode> values()
      Gets known RunStepErrorCode values.
      Returns:
      known RunStepErrorCode values.