1 #ifndef __ERROR_CODES_H__
2 #define __ERROR_CODES_H__
13 #define STERNUM_CODE_ERROR -1
14 #define STERNUM_CODE_SUCCESS 0
15 #define STERNUM_CODE_MAGIC_GENERATION_ERROR 1
16 #define STERNUM_CODE_UNEXPECTED_STATE 2
17 #define STERNUM_CODE_NOT_INITIALIZED 3
18 #define STERNUM_CODE_INVALID_POINTER 4
19 #define STERNUM_CODE_UNSUPPORTED_ARGUMENT_SIZE 5
20 #define STERNUM_CODE_OUT_OF_MEMORY 6
21 #define STERNUM_CODE_UNSUPPORTED_ARGUMENT_TYPE 7
22 #define STERNUM_CODE_UNSUPPORTED_ARGUMENT_ROLE_TYPE 8
23 #define STERNUM_CODE_MUTEX_OPERATION_FAILURE 9
24 #define STERNUM_CODE_INITIALIZATION_ERROR 10
25 #define STERNUM_CODE_TASK_BUSY 11
26 #define STERNUM_CODE_INVALID_ARGUMENT 12
27 #define STERNUM_CODE_STORAGE_FAILURE 13
28 #define STERNUM_CODE_NOT_IMPLEMENTED 14
int sternum_code_t
Definition: error_codes.h:11