Enum Class WatsonError.Code

java.lang.Object
java.lang.Enum<WatsonError.Code>
io.quarkiverse.langchain4j.watsonx.bean.WatsonError.Code
All Implemented Interfaces:
Serializable, Comparable<WatsonError.Code>, Constable
Enclosing class:
WatsonError

public static enum WatsonError.Code extends Enum<WatsonError.Code>
  • Enum Constant Details

    • AUTHORIZATION_REJECTED

      public static final WatsonError.Code AUTHORIZATION_REJECTED
    • MODEL_NOT_SUPPORTED

      public static final WatsonError.Code MODEL_NOT_SUPPORTED
    • USER_AUTHORIZATION_FAILED

      public static final WatsonError.Code USER_AUTHORIZATION_FAILED
    • JSON_VALIDATION_ERROR

      public static final WatsonError.Code JSON_VALIDATION_ERROR
    • INVALID_REQUEST_ENTITY

      public static final WatsonError.Code INVALID_REQUEST_ENTITY
    • INVALID_INPUT_ARGUMENT

      public static final WatsonError.Code INVALID_INPUT_ARGUMENT
    • TOKEN_QUOTA_REACHED

      public static final WatsonError.Code TOKEN_QUOTA_REACHED
    • AUTHENTICATION_TOKEN_EXPIRED

      public static final WatsonError.Code AUTHENTICATION_TOKEN_EXPIRED
  • Method Details

    • values

      public static WatsonError.Code[] 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 WatsonError.Code 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