TcrSdk-Windows V1.0
tcr_code.h
Go to the documentation of this file.
1#ifndef TCRSDK_TCR_CODE_H_
2#define TCRSDK_TCR_CODE_H_
3
4#include <stdint.h>
5
9 enum class TcrCode: int32_t {
10
12
15 SUCCESS = 0,
16
20 ERR_TIMEOUT = 100010,
21
25 ERR_INVALID_PARAMS = 100011,
26
30 ERR_UNKNOWN = 100012,
31
35 ERR_INTERNAL_ERROR = 100013,
36
40 ERR_STATE_ILLEGAL = 100014,
41
43
55
56};
57
58#endif
TcrCode
This interface defines common codes of TcrSdk.
Definition tcr_code.h:9
@ ERR_UNKNOWN
This indicates that some unknown error has happened.
@ ERR_CREATE_FAILURE
This indicates that the data channel is created failed.
@ ERR_DATA_CHANNEL_BASE_CODE
The starting error code of the data channel module.
@ ERR_INTERNAL_ERROR
This indicates that some internal error has happened.
@ ERR_TIMEOUT
This indicates that the request is timed out.
@ ERR_INVALID_PARAMS
This indicates that the request parameter is invalid.
@ ERR_STATE_ILLEGAL
This indicates that the context state is illegal.
@ SUCCESS
This indicates that the result is success.
@ ERR_CLOSED
This indicates that the data channel has been closed.