Enum TtsErrorCode
- java.lang.Object
-
- java.lang.Enum<TtsErrorCode>
-
- com.tencentcloudapi.tts.v20190823.TtsErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<TtsErrorCode>
public enum TtsErrorCode extends Enum<TtsErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static TtsErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static TtsErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHFAILURE_INVALIDAUTHORIZATION
public static final TtsErrorCode AUTHFAILURE_INVALIDAUTHORIZATION
-
FAILEDOPERATION
public static final TtsErrorCode FAILEDOPERATION
-
FAILEDOPERATION_NOSUCHTASK
public static final TtsErrorCode FAILEDOPERATION_NOSUCHTASK
-
INTERNALERROR_ERRORGETROUTE
public static final TtsErrorCode INTERNALERROR_ERRORGETROUTE
-
INTERNALERROR_EXCEEDMAXLIMIT
public static final TtsErrorCode INTERNALERROR_EXCEEDMAXLIMIT
-
INTERNALERROR_FAILACCESSDATABASE
public static final TtsErrorCode INTERNALERROR_FAILACCESSDATABASE
-
INTERNALERROR_FAILACCESSREDIS
public static final TtsErrorCode INTERNALERROR_FAILACCESSREDIS
-
INTERNALERROR_INTERNALERROR
public static final TtsErrorCode INTERNALERROR_INTERNALERROR
-
INTERNALERROR_NORESOURCE
public static final TtsErrorCode INTERNALERROR_NORESOURCE
-
INVALIDPARAMETER_INVALIDTEXT
public static final TtsErrorCode INVALIDPARAMETER_INVALIDTEXT
-
INVALIDPARAMETER_STATUS
public static final TtsErrorCode INVALIDPARAMETER_STATUS
-
INVALIDPARAMETERVALUE_APPID
public static final TtsErrorCode INVALIDPARAMETERVALUE_APPID
-
INVALIDPARAMETERVALUE_APPIDNOTREGISTERED
public static final TtsErrorCode INVALIDPARAMETERVALUE_APPIDNOTREGISTERED
-
INVALIDPARAMETERVALUE_CALLBACKURL
public static final TtsErrorCode INVALIDPARAMETERVALUE_CALLBACKURL
-
INVALIDPARAMETERVALUE_CODEC
public static final TtsErrorCode INVALIDPARAMETERVALUE_CODEC
-
INVALIDPARAMETERVALUE_ERRORCARDINALFORMAT
public static final TtsErrorCode INVALIDPARAMETERVALUE_ERRORCARDINALFORMAT
-
INVALIDPARAMETERVALUE_INVALIDTEXT
public static final TtsErrorCode INVALIDPARAMETERVALUE_INVALIDTEXT
-
INVALIDPARAMETERVALUE_MISSPARAMETERS
public static final TtsErrorCode INVALIDPARAMETERVALUE_MISSPARAMETERS
-
INVALIDPARAMETERVALUE_MODELTYPE
public static final TtsErrorCode INVALIDPARAMETERVALUE_MODELTYPE
-
INVALIDPARAMETERVALUE_PARTICIPLEERROR
public static final TtsErrorCode INVALIDPARAMETERVALUE_PARTICIPLEERROR
-
INVALIDPARAMETERVALUE_PRIMARYLANGUAGE
public static final TtsErrorCode INVALIDPARAMETERVALUE_PRIMARYLANGUAGE
-
INVALIDPARAMETERVALUE_SSMLINVALID
public static final TtsErrorCode INVALIDPARAMETERVALUE_SSMLINVALID
-
INVALIDPARAMETERVALUE_SAMPLERATE
public static final TtsErrorCode INVALIDPARAMETERVALUE_SAMPLERATE
-
INVALIDPARAMETERVALUE_SESSIONID
public static final TtsErrorCode INVALIDPARAMETERVALUE_SESSIONID
-
INVALIDPARAMETERVALUE_SPEED
public static final TtsErrorCode INVALIDPARAMETERVALUE_SPEED
-
INVALIDPARAMETERVALUE_TEXT
public static final TtsErrorCode INVALIDPARAMETERVALUE_TEXT
-
INVALIDPARAMETERVALUE_TEXTEMPTY
public static final TtsErrorCode INVALIDPARAMETERVALUE_TEXTEMPTY
-
INVALIDPARAMETERVALUE_TEXTNOTUTF8
public static final TtsErrorCode INVALIDPARAMETERVALUE_TEXTNOTUTF8
-
INVALIDPARAMETERVALUE_TEXTSSMLPARSEERROR
public static final TtsErrorCode INVALIDPARAMETERVALUE_TEXTSSMLPARSEERROR
-
INVALIDPARAMETERVALUE_TEXTTOOLONG
public static final TtsErrorCode INVALIDPARAMETERVALUE_TEXTTOOLONG
-
INVALIDPARAMETERVALUE_TYPE
public static final TtsErrorCode INVALIDPARAMETERVALUE_TYPE
-
INVALIDPARAMETERVALUE_VOICETYPE
public static final TtsErrorCode INVALIDPARAMETERVALUE_VOICETYPE
-
INVALIDPARAMETERVALUE_VOLUME
public static final TtsErrorCode INVALIDPARAMETERVALUE_VOLUME
-
LIMITEXCEEDED_ACCESSLIMIT
public static final TtsErrorCode LIMITEXCEEDED_ACCESSLIMIT
-
UNSUPPORTEDOPERATION
public static final TtsErrorCode UNSUPPORTEDOPERATION
-
UNSUPPORTEDOPERATION_ACCOUNTARREARS
public static final TtsErrorCode UNSUPPORTEDOPERATION_ACCOUNTARREARS
-
UNSUPPORTEDOPERATION_AUTHORIZATIONEXPIRED
public static final TtsErrorCode UNSUPPORTEDOPERATION_AUTHORIZATIONEXPIRED
-
UNSUPPORTEDOPERATION_AUTHORIZATIONFAILED
public static final TtsErrorCode UNSUPPORTEDOPERATION_AUTHORIZATIONFAILED
-
UNSUPPORTEDOPERATION_FORBIDDENUSE
public static final TtsErrorCode UNSUPPORTEDOPERATION_FORBIDDENUSE
-
UNSUPPORTEDOPERATION_NOBANLANCE
public static final TtsErrorCode UNSUPPORTEDOPERATION_NOBANLANCE
-
UNSUPPORTEDOPERATION_NOFREEACCOUNT
public static final TtsErrorCode UNSUPPORTEDOPERATION_NOFREEACCOUNT
-
UNSUPPORTEDOPERATION_PKGEXHAUSTED
public static final TtsErrorCode UNSUPPORTEDOPERATION_PKGEXHAUSTED
-
UNSUPPORTEDOPERATION_SERVERALREADYOPEN
public static final TtsErrorCode UNSUPPORTEDOPERATION_SERVERALREADYOPEN
-
UNSUPPORTEDOPERATION_SERVERDESTORYED
public static final TtsErrorCode UNSUPPORTEDOPERATION_SERVERDESTORYED
-
UNSUPPORTEDOPERATION_SERVERNOTOPEN
public static final TtsErrorCode UNSUPPORTEDOPERATION_SERVERNOTOPEN
-
UNSUPPORTEDOPERATION_SERVERSTOPPED
public static final TtsErrorCode UNSUPPORTEDOPERATION_SERVERSTOPPED
-
UNSUPPORTEDOPERATION_TEXTTOOLONG
public static final TtsErrorCode UNSUPPORTEDOPERATION_TEXTTOOLONG
-
-
Method Detail
-
values
public static TtsErrorCode[] 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 (TtsErrorCode c : TtsErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TtsErrorCode 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
-
-