Enum Class LlmErrorBodies.Kind

java.lang.Object
java.lang.Enum<LlmErrorBodies.Kind>
org.mockserver.llm.LlmErrorBodies.Kind
All Implemented Interfaces:
Serializable, Comparable<LlmErrorBodies.Kind>, Constable
Enclosing class:
LlmErrorBodies

public static enum LlmErrorBodies.Kind extends Enum<LlmErrorBodies.Kind>
  • Enum Constant Details

    • OVERLOADED

      public static final LlmErrorBodies.Kind OVERLOADED
      The provider is temporarily overloaded (e.g. Anthropic 529).
    • RATE_LIMIT

      public static final LlmErrorBodies.Kind RATE_LIMIT
      A rate limit / quota was exceeded (429).
    • SERVER_ERROR

      public static final LlmErrorBodies.Kind SERVER_ERROR
      A generic upstream server error (5xx).
  • Method Details

    • values

      public static LlmErrorBodies.Kind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LlmErrorBodies.Kind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null