Go to the documentation of this file.
63 #ifndef VS_IOT_SDK_STATUS_CODE
64 #define VS_IOT_SDK_STATUS_CODE
69 namespace VirgilIoTKit {
145 #define STATUS_CHECK(OPERATION, MESSAGE, ...) CHECK(VS_CODE_OK == (OPERATION), (MESSAGE), ##__VA_ARGS__)
159 #define STATUS_CHECK_RET(OPERATION, MESSAGE, ...) CHECK_RET(VS_CODE_OK == (ret_code = (OPERATION)), ret_code, (MESSAGE), ##__VA_ARGS__)
171 #define STATUS_CHECK_RET_BOOL(OPERATION, MESSAGE, ...) BOOL_CHECK_RET(VS_CODE_OK == (OPERATION), (MESSAGE), ##__VA_ARGS__)
178 #endif // VS_IOT_SDK_STATUS_CODE
@ VS_CODE_ERR_INIT_SNAP
Error while vs_netif_t .
Definition: status_code.h:125
@ VS_CODE_ERR_TX_SNAP
Error while vs_netif_t .
Definition: status_code.h:127
@ VS_CODE_ERR_VERIFY
Incorrect result of verification.
Definition: status_code.h:99
@ VS_CODE_ERR_SNAP_NOT_MY_PACKET
SNAP error "not my packet".
Definition: status_code.h:116
@ VS_CODE_ERR_SNAP_TOO_MUCH_SERVICES
Too much services to be registered by SNAP.
Definition: status_code.h:117
@ VS_CODE_ERR_NULLPTR_ARGUMENT
Argument is NULL pointer while it must be not NULL.
Definition: status_code.h:81
@ VS_CODE_ERR_ZERO_ARGUMENT
Argument is zero while it must be not zero.
Definition: status_code.h:82
@ VS_CODE_ERR_NOT_FOUND
Entity has not been found.
Definition: status_code.h:89
vs_status_e
Status code.
Definition: status_code.h:77
@ VS_CODE_ERR_JSON
Error during JSON processing.
Definition: status_code.h:109
@ VS_CODE_ERR_FILE_WRITE
Error during file write.
Definition: status_code.h:105
@ VS_CODE_ERR_THREAD
Error during thread processing.
Definition: status_code.h:119
@ VS_CODE_ERR_CTX_NOT_READY
Context is not ready.
Definition: status_code.h:87
@ VS_CODE_ERR_PLC
PLC error.
Definition: status_code.h:122
@ VS_CODE_ERR_AMBIGUOUS_INIT_CALL
Ambiguous initialization call.
Definition: status_code.h:86
@ VS_CODE_ERR_NO_CALLBACK
There is no callback.
Definition: status_code.h:91
@ VS_CODE_ERR_FILE
Error during file processing.
Definition: status_code.h:103
@ VS_CODE_COMMAND_NO_RESPONSE
No need in response.
Definition: status_code.h:78
@ VS_CODE_OK
Successful operation.
Definition: status_code.h:80
@ VS_CODE_ERR_NOT_IMPLEMENTED
This feature is not implemented.
Definition: status_code.h:88
@ VS_CODE_ERR_REQUEST_PREPARE
Error during request preparation.
Definition: status_code.h:110
@ VS_CODE_ERR_DEINIT_SNAP
Error while vs_netif_t .
Definition: status_code.h:126
@ VS_CODE_ERR_FILE_READ
Error during file read.
Definition: status_code.h:104
@ VS_CODE_ERR_PRVS_UNKNOWN
Provision error.
Definition: status_code.h:113
@ VS_CODE_ERR_REQUEST_SEND
Error during request send.
Definition: status_code.h:111
@ VS_CODE_OLD_VERSION
Provided file is not newer than the current file.
Definition: status_code.h:79
@ VS_CODE_ERR_UNREGISTERED_MAPPING_TYPE
Unsupported mapping type.
Definition: status_code.h:92
@ VS_CODE_ERR_INCORRECT_SEND_REQUEST
Incorrect send request.
Definition: status_code.h:93
@ VS_CODE_ERR_UNSUPPORTED
Unsupported crypto data.
Definition: status_code.h:100
@ VS_CODE_ERR_NO_MEMORY
No memory.
Definition: status_code.h:95
@ VS_CODE_ERR_SNAP_UNKNOWN
SNAP error.
Definition: status_code.h:115
@ VS_CODE_ERR_NO_SIMULATOR
No simulator has been found.
Definition: status_code.h:120
@ VS_CODE_ERR_TOO_SMALL_BUFFER
Buffer is too small.
Definition: status_code.h:96
@ VS_CODE_ERR_USER
User specific error codes start with this value.
Definition: status_code.h:131
@ VS_CODE_ERR_CRYPTO
Error during crypto operation processing.
Definition: status_code.h:101
@ VS_CODE_ERR_POLLING_INFO_CLIENT
Error while starting polling.
Definition: status_code.h:129
@ VS_CODE_ERR_NOINIT
Not initialized.
Definition: status_code.h:123
@ VS_CODE_ERR_INCORRECT_PARAMETER
Incorrect parameter.
Definition: status_code.h:84
@ VS_CODE_ERR_UNSUPPORTED_PARAMETER
Unsupported parameter.
Definition: status_code.h:85
@ VS_CODE_ERR_INCORRECT_ARGUMENT
Incorrect argument.
Definition: status_code.h:83
@ VS_CODE_ERR_SOCKET
Error during socket operations.
Definition: status_code.h:121
@ VS_CODE_ERR_FORMAT_OVERFLOW
Incorrect data format.
Definition: status_code.h:97
@ VS_CODE_ERR_MAC_SNAP
Error while vs_netif_t .
Definition: status_code.h:128
@ VS_CODE_ERR_FILE_DELETE
Error during file delete.
Definition: status_code.h:106
@ VS_CODE_ERR_CLOUD
Error during operation with cloud.
Definition: status_code.h:108