TcrSdk-Windows V1.0
Enumerations
tcr_code.h File Reference
#include <stdint.h>

Go to the source code of this file.

Enumerations

enum class  TcrCode : int32_t {
  SUCCESS = 0 , ERR_TIMEOUT = 100010 , ERR_INVALID_PARAMS = 100011 , ERR_UNKNOWN = 100012 ,
  ERR_INTERNAL_ERROR = 100013 , ERR_STATE_ILLEGAL = 100014 , ERR_DATA_CHANNEL_BASE_CODE = 102000 , ERR_CREATE_FAILURE = ERR_DATA_CHANNEL_BASE_CODE + 1 ,
  ERR_CLOSED = ERR_DATA_CHANNEL_BASE_CODE + 2
}
 This interface defines common codes of TcrSdk. More...
 

Enumeration Type Documentation

◆ TcrCode

enum class TcrCode : int32_t
strong

This interface defines common codes of TcrSdk.

Enumerator
SUCCESS 

This indicates that the result is success.

ERR_TIMEOUT 

This indicates that the request is timed out.

ERR_INVALID_PARAMS 

This indicates that the request parameter is invalid.

ERR_UNKNOWN 

This indicates that some unknown error has happened.

ERR_INTERNAL_ERROR 

This indicates that some internal error has happened.

ERR_STATE_ILLEGAL 

This indicates that the context state is illegal.

ERR_DATA_CHANNEL_BASE_CODE 

The starting error code of the data channel module.

ERR_CREATE_FAILURE 

This indicates that the data channel is created failed.

ERR_CLOSED 

This indicates that the data channel has been closed.