Enum NlpErrorCode
- java.lang.Object
-
- java.lang.Enum<NlpErrorCode>
-
- com.tencentcloudapi.nlp.v20190408.NlpErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<NlpErrorCode>
public enum NlpErrorCode extends Enum<NlpErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static NlpErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static NlpErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILEDOPERATION
public static final NlpErrorCode FAILEDOPERATION
-
FAILEDOPERATION_BALANCEINSUFFICIENT
public static final NlpErrorCode FAILEDOPERATION_BALANCEINSUFFICIENT
-
FAILEDOPERATION_INNERERROR
public static final NlpErrorCode FAILEDOPERATION_INNERERROR
-
FAILEDOPERATION_NOCOUPLETS
public static final NlpErrorCode FAILEDOPERATION_NOCOUPLETS
-
FAILEDOPERATION_NOPOETRY
public static final NlpErrorCode FAILEDOPERATION_NOPOETRY
-
FAILEDOPERATION_NORESULTS
public static final NlpErrorCode FAILEDOPERATION_NORESULTS
-
FAILEDOPERATION_NOTFOUNDDATA
public static final NlpErrorCode FAILEDOPERATION_NOTFOUNDDATA
-
FAILEDOPERATION_REQUESTTIMEOUT
public static final NlpErrorCode FAILEDOPERATION_REQUESTTIMEOUT
-
FAILEDOPERATION_RESOURCEBUSY
public static final NlpErrorCode FAILEDOPERATION_RESOURCEBUSY
-
FAILEDOPERATION_RPCFAIL
public static final NlpErrorCode FAILEDOPERATION_RPCFAIL
-
FAILEDOPERATION_UNKNOWERROR
public static final NlpErrorCode FAILEDOPERATION_UNKNOWERROR
-
FAILEDOPERATION_UNKNOWN
public static final NlpErrorCode FAILEDOPERATION_UNKNOWN
-
INTERNALERROR
public static final NlpErrorCode INTERNALERROR
-
INTERNALERROR_SERVICECALLERROR
public static final NlpErrorCode INTERNALERROR_SERVICECALLERROR
-
INTERNALERROR_SERVICEERROR
public static final NlpErrorCode INTERNALERROR_SERVICEERROR
-
INTERNALERROR_TEXTCLASSIFYERROR
public static final NlpErrorCode INTERNALERROR_TEXTCLASSIFYERROR
-
INTERNALERROR_TEXTPARSINGERROR
public static final NlpErrorCode INTERNALERROR_TEXTPARSINGERROR
-
INVALIDPARAMETER_SERVICEERROR
public static final NlpErrorCode INVALIDPARAMETER_SERVICEERROR
-
INVALIDPARAMETER_TEXTTOOLONGCODE
public static final NlpErrorCode INVALIDPARAMETER_TEXTTOOLONGCODE
-
INVALIDPARAMETERVALUE_GENRE
public static final NlpErrorCode INVALIDPARAMETERVALUE_GENRE
-
INVALIDPARAMETERVALUE_INVALIDPARAMETER
public static final NlpErrorCode INVALIDPARAMETERVALUE_INVALIDPARAMETER
-
INVALIDPARAMETERVALUE_POETRYTYPE
public static final NlpErrorCode INVALIDPARAMETERVALUE_POETRYTYPE
-
INVALIDPARAMETERVALUE_SENSITIVETEXT
public static final NlpErrorCode INVALIDPARAMETERVALUE_SENSITIVETEXT
-
INVALIDPARAMETERVALUE_TARGETTYPE
public static final NlpErrorCode INVALIDPARAMETERVALUE_TARGETTYPE
-
INVALIDPARAMETERVALUE_TEXT
public static final NlpErrorCode INVALIDPARAMETERVALUE_TEXT
-
INVALIDPARAMETERVALUE_TEXTNUMTOOMUCH
public static final NlpErrorCode INVALIDPARAMETERVALUE_TEXTNUMTOOMUCH
-
INVALIDPARAMETERVALUE_TEXTTOOLONG
public static final NlpErrorCode INVALIDPARAMETERVALUE_TEXTTOOLONG
-
LIMITEXCEEDED_RESOURCEREACHEDLIMIT
public static final NlpErrorCode LIMITEXCEEDED_RESOURCEREACHEDLIMIT
-
REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED
public static final NlpErrorCode REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED
-
RESOURCEINSUFFICIENT_QUOTARUNOUT
public static final NlpErrorCode RESOURCEINSUFFICIENT_QUOTARUNOUT
-
RESOURCENOTFOUND
public static final NlpErrorCode RESOURCENOTFOUND
-
RESOURCEUNAVAILABLE
public static final NlpErrorCode RESOURCEUNAVAILABLE
-
RESOURCEUNAVAILABLE_FREEZE
public static final NlpErrorCode RESOURCEUNAVAILABLE_FREEZE
-
RESOURCEUNAVAILABLE_INARREARS
public static final NlpErrorCode RESOURCEUNAVAILABLE_INARREARS
-
RESOURCEUNAVAILABLE_ISOPENING
public static final NlpErrorCode RESOURCEUNAVAILABLE_ISOPENING
-
RESOURCEUNAVAILABLE_NOTEXIST
public static final NlpErrorCode RESOURCEUNAVAILABLE_NOTEXIST
-
RESOURCEUNAVAILABLE_RECOVER
public static final NlpErrorCode RESOURCEUNAVAILABLE_RECOVER
-
RESOURCEUNAVAILABLE_SERVICENOTOPENEDERROR
public static final NlpErrorCode RESOURCEUNAVAILABLE_SERVICENOTOPENEDERROR
-
RESOURCEUNAVAILABLE_STOPUSING
public static final NlpErrorCode RESOURCEUNAVAILABLE_STOPUSING
-
-
Method Detail
-
values
public static NlpErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NlpErrorCode c : NlpErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NlpErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
- Returns:
- errorcode value
-
-