CancellationErrorCode Enum  
	- java.
lang. Object  - java.
lang. Enum  - com.
microsoft. cognitiveservices. speech. CancellationErrorCode  
- com.
 
- java.
 
public enum CancellationErrorCode
 extends java.lang.Enum<CancellationErrorCode>
Defines error code in case that CancellationReason is Error. Added in version 1.1.0.
Fields
| AuthenticationFailure | 
						 Indicates an authentication error.  | 
				
| BadRequest | 
						 Indicates that one or more recognition parameters are invalid or the audio format is not supported.  | 
				
| ConnectionFailure | 
						 Indicates a connection error.  | 
				
| EmbeddedModelError | 
						 Indicates the embedded speech (SR or TTS) model is not available or corrupted.  | 
				
| Forbidden | 
						 Indicates that the free subscription used by the request ran out of quota.  | 
				
| NoError | 
						 Indicates that no error occurred during speech recognition.  | 
				
| RuntimeError | 
						 Indicates an unexpected runtime error.  | 
				
| ServiceError | 
						 Indicates that an error is returned by the service.  | 
				
| ServiceRedirectPermanent | 
						 Indicates the Speech Service is permanently requesting a reconnect to a different endpoint.  | 
				
| ServiceRedirectTemporary | 
						 Indicates the Speech Service is temporarily requesting a reconnect to a different endpoint.  | 
				
| ServiceTimeout | 
						 Indicates a time-out error when waiting for response from service.  | 
				
| ServiceUnavailable | 
						 Indicates that the service is currently unavailable.  | 
				
| TooManyRequests | 
						 Indicates that the number of parallel requests exceeded the number of allowed concurrent transcriptions for the subscription.  | 
				
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
getValue()
public int getValue()
Returns the internal value error code
Returns
valueOf(String name)
public static CancellationErrorCode valueOf(String name)
Parameters
- name
 - java.lang.String