public enum AIResponseErrorType extends java.lang.Enum<AIResponseErrorType> implements ValueEnum
AIResponse of type
 ERROR, the type of error, if known.| Enum Constant and Description | 
|---|
| REQUESTRATELIMITEXCEEDEDthe request exceeds a rate limit | 
| REQUESTSIZELIMITEXCEEDEDthe request's size exceeds a limit | 
| REQUESTUNSAFEthe request was deemed unsafe | 
| RESPONSESIZELIMITEXCEEDEDthe response's size exceeded a limit | 
| RESPONSEUNSAFEthe generated response was deemed unsafe | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getValue() | 
| static AIResponseErrorType | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static AIResponseErrorType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AIResponseErrorType REQUESTRATELIMITEXCEEDED
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "requestRateLimitExceeded".
public static final AIResponseErrorType REQUESTSIZELIMITEXCEEDED
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "requestSizeLimitExceeded".
public static final AIResponseErrorType REQUESTUNSAFE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "requestUnsafe".
public static final AIResponseErrorType RESPONSESIZELIMITEXCEEDED
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "responseSizeLimitExceeded".
public static final AIResponseErrorType RESPONSEUNSAFE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "responseUnsafe".
public static AIResponseErrorType[] values()
for (AIResponseErrorType c : AIResponseErrorType.values()) System.out.println(c);
public static AIResponseErrorType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null