18 #ifndef MGMAPI_ERROR_H
19 #define MGMAPI_ERROR_H
33 NDB_MGM_ILLEGAL_CONNECT_STRING = 1001,
35 NDB_MGM_ILLEGAL_SERVER_HANDLE = 1005,
37 NDB_MGM_ILLEGAL_SERVER_REPLY = 1006,
39 NDB_MGM_ILLEGAL_NUMBER_OF_NODES = 1007,
41 NDB_MGM_ILLEGAL_NODE_STATUS = 1008,
43 NDB_MGM_OUT_OF_MEMORY = 1009,
45 NDB_MGM_SERVER_NOT_CONNECTED = 1010,
47 NDB_MGM_COULD_NOT_CONNECT_TO_SOCKET = 1011,
49 NDB_MGM_BIND_ADDRESS = 1012,
53 NDB_MGM_ALLOCID_ERROR = 1101,
55 NDB_MGM_ALLOCID_CONFIG_MISMATCH = 1102,
59 NDB_MGM_START_FAILED = 2001,
61 NDB_MGM_STOP_FAILED = 2002,
63 NDB_MGM_RESTART_FAILED = 2003,
67 NDB_MGM_COULD_NOT_START_BACKUP = 3001,
69 NDB_MGM_COULD_NOT_ABORT_BACKUP = 3002,
73 NDB_MGM_COULD_NOT_ENTER_SINGLE_USER_MODE = 4001,
75 NDB_MGM_COULD_NOT_EXIT_SINGLE_USER_MODE = 4002,
79 NDB_MGM_CONFIG_CHANGE_FAILED = 4011,
81 NDB_MGM_GET_CONFIG_FAILED = 4012,
85 NDB_MGM_USAGE_ERROR = 5001
87 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
89 enum ndb_mgm_error
code;
94 extern const int ndb_mgm_noOfErrorMsgs;
98 #if defined PERROR_VERSION || defined MGMAPI_ERROR_INCLUDE_MESSAGES
99 #include "../../src/mgmapi/mgmapi_error.c"