# RETCODE_SUCCESS
0 = ERR-00000, Successful operation

# RETCODE_FAILURE
1 = ERR-00001, Operation failed

# RETCODE_FILTER_REVERSE
2 = ERR-00002, Request has been inverted

# RETCODE_FILTER_DONE
3 = ERR-00003, Processing is complete

# RETCODE_REQUEST_FORWARDED
4 = ERR-00004, Request has been forwarded

# RETCODE_NO_FUTURE_RESULT
5 = ERR-00005, The asynchronous request did not complete

# RETCODE_REQUEST_IGNORED
6 = ERR-00006, Requests were ignored

# ERR_GET_FILELIST_OPEN_DIR
101 = ERR-00101, Failed to open directory when get file list

# ERR_CREATE_EMPTY_DIRECTORY
102 = ERR-00102, Create empty directory

# ERR_CREATE_DIRECTORY
103 = ERR-00103, Failed to create directory

# ERR_REMOVE_DIRECTORY
104 = ERR-00104, Failed to remove directory

# ERR_COPY_TARGET_EXIST
105 = ERR-00105, Target file already exists

# ERR_COPY_TARGET_OPEN
106 = ERR-00106, Failed to open target file

# ERR_COPY_SRC_OPEN
107 = ERR-00107, Failed to open source file

# ERR_SM_INITIALIZE
108 = ERR-00108, Failed to initialize share memory accessor

# ERR_SM_ADD_BLOCK
109 = ERR-00109, Faield to add memory block

# ERR_SM_REMOVE_BLOCK
110 = ERR-00110, Failed to remove memory block

# ERR_SM_REMOVE_ALLOCATOR
111 = ERR-00111, Failed to remove share memory accessor

# ERR_SAME_NAMED_FUNCTION_EXIST
112 = ERR-00112, Function with the same name exist

# ERR_GNL_ATTRIB_NOT_EXIST
113 = ERR-00113, General attribute not exist

# ERR_GNL_ATTRIB_EXIST
114 = ERR-00114, General attribute with the same name does exist

# ERR_MUTEX_EXIST
115 = ERR-00115, Mutex does exist

# ERR_REGISTE_SYS_SIGNAL
116 = ERR-00116, Failed to registe signal handler

# ERR_DEREGISTE_SYS_SIGNAL
117 = ERR-00117, Failed to remove signal handler

# ERR_ZIP
118 = ERR-00118, Failed to zip file

# ERR_UNZIP
119 = ERR-00119, Failed to unzip file

# ERR_ZIP_MEM
120 = ERR-00120, Failed to zip memory block

# ERR_UNZIP_MEM
121 = ERR-00121, Failed to unzip memory block

# ERR_UNZIP_MEM_LENGTH_EXCCEED
122 = ERR-00122, Memory length excceed limitation

# ERR_SET_GNLDATA_TYPE_TWICE
123 = ERR-00123, General data type has already set

# ERR_OBJ_GNL_PARAM_INVALID
124 = ERR-00124, Missing or invalid parameter

# ERR_COLUMN_EXIST
125 = ERR-00125, Table column has already exists

# ERR_COLUMN_NOT_EXIST
126 = ERR-00126, Table column does not exists

# ERR_LINE_NUMBER_EXCCEED
127 = ERR-00127, Table line number overflowed

# ERR_COLUMN_ADD_ONLY_EMPTY
128 = ERR-00128, Table must be empty when column added

# ERR_CREATE_PROCESS
129 = ERR-00129, 

# ERR_TIMEOUT
130 = ERR-00130, 

# ERR_CREATE_TEMPFILE
131 = ERR-00131, 

# ERR_GUARD_FAILURE
132 = ERR-00132, Guard failure

# ERR_NOT_MW_ROOT_ENVVAR
133 = ERR-00133, MW_ROOT macro not found

# ERR_PROCESS_NAME_EMPTY
134 = ERR-00134, process name macro PROCESS_NAME not found

# ERR_CREATE_RUNNER
135 = ERR-00135, Failed to create mwplus runner

# ERR_ALLOC_MEMORY
136 = ERR-00136, Failed to alloc memory

# ERR_ALLOC_SHARE_MEMORY
137 = ERR-00137, Failed to alloc share memory

# ERR_CREATE_RUNTIME_CLASS
138 = ERR-00138, Failed to create runtime class instance

# ERR_SERIALIZE
139 = ERR-00139, Serialize failed

# ERR_GNL_PARAM_INIT
140 = ERR-00140, Failed to initialize general parameters

# ERR_ASYN_WAIT_TIMEOUT
141 = ERR-00141, Asynchronous object wait timeout

# ERR_PROCESS_INSTANCE_EXIST
142 = ERR-00142, Process with the same name is running

# ERR_INVALID_LOGLEVEL_NUMBER
143 = ERR-00143, Invalid log level number

# ERR_OPEN_LOGFILE
144 = ERR-00144, Failed to open log file

# ERR_INVALID_LOGOBJ_ID
145 = ERR-00145, Invalid log object id

# ERR_LOGOBJ_ID_EXIST
146 = ERR-00146, Log object with the specified id already exists

# ERR_ENQUEUE_LOG_RECORD
147 = ERR-00147, Failed to enqueue log record

# ERR_LOGOBJ_ID_EXCCEED
148 = ERR-00148, Log object id excceed the limitation

# ERR_NO_LOGIMPL
149 = ERR-00149, Log implementation does not exist

# ERR_XML_PARSE_NULL_PARSER
150 = ERR-00150, Null parser

# ERR_XML_PARSE_TWICE
151 = ERR-00151, Parser cannot parse more than one document

# ERR_XML_PARSE
152 = ERR-00152, Failed to parse document

# ERR_XML_NULL_DOC
153 = ERR-00153, Null xml document object

# ERR_XML_SAVE_NULL_DOC
154 = ERR-00154, Null xml document object when save

# ERR_XML_SAVE_NULL_PARSER
155 = ERR-00155, Null DOM implementation when save

# ERR_XML_NULL_ELEMENT
156 = ERR-00156, Null xml element

# ERR_XML_MEMORY
157 = ERR-00157, Memory exception

# ERR_XML_EXCEPTION
158 = ERR-00158, Xml exception

# ERR_XML_PARSE_EXCEPTION
159 = ERR-00159, Xml exception

# ERR_LOAD_CONFIGFILE
160 = ERR-00160, Failed to load config file

# ERR_SAVE_CONFIGFILE_EMPTY_NAME
161 = ERR-00161, Empty config file when save called

# ERR_CONFIG_FILE_READ_FAIL
162 = ERR-00162, Open profile failure

# ERR_CONFIG_FILE_WRITE_FAIL
163 = ERR-00163, Failed to write a profile

# ERR_CONFIG_XML_INVALID_FORMAT
164 = ERR-00164, Invalid config xml file format

# ERR_RESOURCE_FILE_READ_FAIL
165 = ERR-00165, Resources file failed to open

# ERR_RESOURCEMGR_INIT
166 = ERR-00166, Failed to initialize resource manager

# ERR_RESOURCE_ID_NOT_EXIST
167 = ERR-00167, Resource does not exist

# ERR_RESOURCE_ID_EXCCEED_LIMIT
168 = ERR-00168, Resource id excceed limitation

# ERR_MWPLUS_CONFIGFILE_NOTEXIST
169 = ERR-00169, Config file for mwplus not found

# ERR_OPEN_OUTPUT_CONFIG_FILE
170 = ERR-00170, Open output profile failure

# ERR_IF_EXIST
171 = ERR-00171, Interface already exists

# ERR_IF_NOTEXISTS
172 = ERR-00172, Interface does not exist

# ERR_PARAM_OBJECT_NO_CHAR
173 = ERR-00173, Param object has not data

# ERR_MISSING_PARAMETER
174 = ERR-00174, Missing parameter

# ERR_MISSING_PARAMETER_VALUE
175 = ERR-00175, Missing parameter value

# ERR_PARAMETER_KEY_NOT_SUPPORT
176 = ERR-00176, Parameter key not supported

# ERR_INVALID_PARAM_VALUE
177 = ERR-00177, Invalid parameter value

# ERR_UNEXPECTED_PARAM_VALUE
178 = ERR-00178, Parameter value not expected

# ERR_PYTHON_INITIALIZED
179 = ERR-00179, Python has already initialized

# ERR_PYTHON_INITIALIZE
180 = ERR-00180, Failed to initialize python

# ERR_PYTHON_CREATE_MODULE
181 = ERR-00181, Failed to create python module

# ERR_PYTHON_MODULE_FUNC
182 = ERR-00182, Failed to initialize python module function

# ERR_PYTHON_RUN_SCRIPT
183 = ERR-00183, Failed to run python script

# ERR_PYTHON_SET_DICT_ITEM
184 = ERR-00184, Failed to set python dictionary value

# ERR_PYTHON_SET_DICT_INVALID_DICT
185 = ERR-00185, Failed to set python dictionary value

# ERR_PYTHON_GET_OBJATTRIB
186 = ERR-00186, Failed to get python attribute

# ERR_PYTHON_SET_OBJATTRIB
187 = ERR-00187, Failed to set python attribute

# ERR_PYTHON_CALL_OBJECT
188 = ERR-00188, Failed to call python object

# ERR_PYTHON_CALL_INVALID_OBJECT
189 = ERR-00189, Invalid python object to call

# ERR_PYTHON_CALL_MODULEMETHOD_INVALID_DICT
190 = ERR-00190, Failed to call python module method

# ERR_PYTHON_CALL_MODULEMETHOD_GET_METHOD
191 = ERR-00191, Failed to call python module method

# ERR_PYTHON_CALL_RET_INVALID
192 = ERR-00192, Failed to call python object method

# ERR_PYTHON_CALL_INVALID
193 = ERR-00193, Invalid python object to call

# ERR_OPEN_MODULE_FILE
194 = ERR-00194, Open module failed

# ERR_INVALID_MODULE_FILE
195 = ERR-00195, Invalid module file

# ERR_DEPENDED_MODULE_NOT_LOAD
196 = ERR-00196, Depended module not loaded

# ERR_ADD_MODULE_NAME_EXIST
197 = ERR-00197, Module name already exists

# ERR_REMOVE_MODULE_NAME_NOTEXIST
198 = ERR-00198, Module name does not exists

# ERR_MODULE_BAD_IF
199 = ERR-00199, Module interface is not correctly initialized

# ERR_MODULE_INVALID_OPER
200 = ERR-00200, Module state is abnormal

# ERR_SERVER_NOT_EXISTS
201 = ERR-00201, The specified server does not exist

# ERR_SERVER_ID_NOT_INITED
202 = ERR-00202, Local server id has not been initialized

# ERR_SERVER_TYPE_NOT_INITED
203 = ERR-00203, Local server type has not been initialized

# ERR_TASK_INVALID_OPER
204 = ERR-00204, Abnormal state of the task

# ERR_REGISTE_TIMER
205 = ERR-00205, Failed to registe timer

# ERR_ADD_THREAD_START_NEW
206 = ERR-00206, Failed to set task thread number

# ERR_START_EVENT_THREAD
207 = ERR-00207, Failed to start event loop thread

# ERR_TASK_NOTEXIST
208 = ERR-00208, 񲻴

# ERR_STOP_EVENT_THREAD
209 = ERR-00209, Failed to stop event loop thread

# ERR_SCHEDULE_EXIST
210 = ERR-00210, Schedule already exists

# ERR_SCHEDULE_NOTEXIST
211 = ERR-00211, Schedule does not exist

# ERR_TIMER_NOTEXIST
212 = ERR-00212, The specified timer does not exist

# ERR_TIMER_EVENT_ENQUEUE
213 = ERR-00213, Failed to enqueue timeout event to schedule task

# ERR_INVALID_TIMER_DISPATCHED
214 = ERR-00214, Invalid timer id

# ERR_ACTIVEOBJECT_ENQUEUE_FAILED
215 = ERR-00215, Active object enqueue failed

# ERR_NO_ACTIVEOBJECT_TASK
216 = ERR-00216, No active object task

# ERR_INVALID_ARCHIVE_GNLOBJECT
217 = ERR-00217, Invalid archive or general object

# ERR_INVALID_ARCHIVE_DIRECTION
218 = ERR-00218, Invalid archive direction

# ERR_ARCHIVE_ASSIST_NAME_EXIST
219 = ERR-00219, Archive assistant already exists with the same name

# ERR_ARCHIVE_XML_NAME_LENGTH
220 = ERR-00220, Name excceed the limitation of XML archive

# ERR_ARCHIVE_XML_ATTRIBNAME_LENGTH
221 = ERR-00221, Attrib name excceed the limitation of XML archive

# ERR_ARCHIVE_XML_ATTRIBVALUE_LENGTH
222 = ERR-00222, Attrib value excceed the limitation of XML archive

# ERR_SVC_BREAK
223 = ERR-00223, The specified handler does not exist, maybe it has been disconnected

# ERR_HANDLER_NOT_EXISTS
224 = ERR-00224, The specified handler does not exist

# ERR_ACQUIRE_SVCHANDLER
225 = ERR-00225, Failed to acquire svc handler

# ERR_RELEASE_SVCHANDLER
226 = ERR-00226, Failed to release svc handler

# ERR_OPEN_SVCHANDLER
227 = ERR-00227, Failed to open svc handler

# ERR_CLOSE_SVCHANDLER
228 = ERR-00228, Failed to close svc handler

# ERR_SOCKET_SEND_FAILED
229 = ERR-00229, Failed to send data through socket

# ERR_SYSTEMV_OPEN_IN
230 = ERR-00230, Failed to open system V in queue

# ERR_SYSTEMV_OPEN_OUT
231 = ERR-00231, Failed to open system V out queue

# ERR_SYSTEMV_SEND_LENGTH_EXCCEED
232 = ERR-00232, Message length excceed the limitation for system V queue

# ERR_SYSTEMV_SEND
233 = ERR-00233, Failed to send message to system V queue

# ERR_SYSTEMV_INVALID_QUEUE
234 = ERR-00234, System V queue not created

# ERR_RECV_SYSTEMV_HANDLER
235 = ERR-00235, Failed to receive data from system V queue

# ERR_START_ENTRY
236 = ERR-00236, Failed to start service entry

# ERR_STOP_ENTRY
237 = ERR-00237, Failed to stop service entry

# ERR_SERVICEENTRY_INVALID_OPER
238 = ERR-00238, Abnormal state of the service entry

# ERR_SERVICEENTRY_EXIST
239 = ERR-00239, Service entry does already exist

# ERR_SERVICEENTRY_NOTEXIST
240 = ERR-00240, Service entry not exist

# ERR_CONNECT_FAILED
241 = ERR-00241, Failed to connect remote machine

# ERR_CONNECT_INVALID_HANDLER
242 = ERR-00242, Invalid handler created

# ERR_ASYN_CONNECT_FAILED
243 = ERR-00243, Asynchronous connect remote machine failed

# ERR_OPEN_ASYN_CONNECTOR_FAILED
244 = ERR-00244, Asynchronous connector open failed

# ERR_RESET_CONNECTOR
245 = ERR-00245, Failed to reset connector

# ERR_ASYN_SEND_OBJ_RELEASE
246 = ERR-00246, Object released when sending message by asyn-handler

# ERR_ASYN_SEND_WRITE_BUFFER
247 = ERR-00247, Failed to write data to asyn-buffer

# ERR_ASYN_SEND_STATE
248 = ERR-00248, Failed to send data due to invalid asyn-handler state

# ERR_ASYN_SEND_ENQUEUE
249 = ERR-00249, Failed to enqueue data into asyn-handler

# ERR_ASYN_SEND_TIMEOUT
250 = ERR-00250, Asyn-send data timeout

# ERR_RECV_DATA
251 = ERR-00251, Failed to receive data

# ERR_NM_SEND_DATA_FAIL
252 = ERR-00252, Send a message failure

# ERR_NM_SEND_TIMEOUT
253 = ERR-00253, Send a message overtime

# ERR_GET_NETWORK_BY_HANDLER
254 = ERR-00254, Failed to get network by handler id

# ERR_NETWORK_ITEM
255 = ERR-00255, Invalid network or network item object

# ERR_MISSION_CLIENT_MISSION_EXIST
256 = ERR-00256, Mission already exists

# ERR_MISSION_CLIENT_MISSION_NOTEXIST
257 = ERR-00257, Mission does not exist

# ERR_SERVERINFO_REPLACED_OF_HANDLER
258 = ERR-00258, Server informations has been replaced

# ERR_SERVERINFO_NOTEXIST_OF_HANDLER
259 = ERR-00259, Server informations not exists for specified handler

# ERR_ASYNMESSAGE_NOT_AUTODELETED
260 = ERR-00260, Asynchronous message did not set up to automatically delete

# ERR_INVALID_DEST_IP
261 = ERR-00261, The wrong target address

# ERR_MESSAGE_FILTER_INVALID_OPER
262 = ERR-00262, Abnormal state of the filter manager

# ERR_THREAD_RELEASED_REQUESTED
263 = ERR-00263, Threads were released

# ERR_DUE_TO_NETWORK_CLOSED
264 = ERR-00264, Network has been closed

# ERR_FILTER_TASK_ENQUEUE
265 = ERR-00265, Failed to enqueue message to filter task

# ERR_PUT_MESSAGE_QUEUE_DOWN
266 = ERR-00266, Failed to send down message

# ERR_PUT_MESSAGE_QUEUE_UP
267 = ERR-00267, Failed to send up message

# ERR_PUTUP_FILTER_NOT_RUNNING
268 = ERR-00268, Failed to send up message when filter is not running

# ERR_PUTDOWN_FILTER_NOT_RUNNING
269 = ERR-00269, Failed to send down message when filter is not running

# ERR_NO_STREAM_ADD_FILTER
270 = ERR-00270, Filter stream not found when adding filter

# ERR_REMOVE_FILTER_NOT_FOUND
271 = ERR-00271, Filter not found when removing

# ERR_SPLITTER_SEND
272 = ERR-00272, Failed to send sub-package by splitter

# ERR_INVALID_NETWORK
273 = ERR-00273, Network specified does not exists or has already been disabled

# ERR_CHECK_HEAD_SUM
274 = ERR-00274, Failed to check the message head sum value

# ERR_GEN_CONTENT_SUM_LEN_ERROR
275 = ERR-00275, Failed to generate content sum value for invalid length

# ERR_MSG_LENGTH_EXCCEED_CONFIG
276 = ERR-00276, Message length excceed the max config length

# ERR_REGENERATE_MESSAGE
277 = ERR-00277, Failed to regenerate message

# ERR_RSP_MESSAGE_NO_SN
278 = ERR-00278, Response message has no serial number

# ERR_INVALID_MESSAGE_HEAD
279 = ERR-00279, Invalid message head

# ERR_ENQUEUE_MESSAGE_TO_HANDLETASK
280 = ERR-00280, Failed to enqueue message to handler task

# ERR_DOMAIN_TASK_EXIST
281 = ERR-00281, Handler task does exists for specified domain

# ERR_NULL_HEAD
282 = ERR-00282, Null message head

# ERR_SYNC_DATA_NOT_EXIST
283 = ERR-00283, Sync-data not exists for message

# ERR_NETWORK_EXIST
284 = ERR-00284, Network has already exists

# ERR_DATA_LENGTH_LESSTHAN_HEAD_DESC
285 = ERR-00285, Message length less than that in head

# ERR_LOAD_USER_INFO
286 = ERR-00286, Failed to load user information

# ERR_INVALID_USERNAME_PASSWORD
287 = ERR-00287, Invalid user name or password

# ERR_USER_NOT_EXIST
288 = ERR-00288, User does not exists

# ERR_USER_EXIST
289 = ERR-00289, User already exists

# ERR_USER_LOGIN_CHECK
290 = ERR-00290, User does not exists or not login

# ERR_USER_INVALID_PRIVILEGE
291 = ERR-00291, Insufficient privilege

# ERR_LOGOUT
292 = ERR-00292, Failed to logout

# ERR_CHANGE_PASSWORD
293 = ERR-00293, Failed to change password

# ERR_SERVICE_INVALID_OPER
294 = ERR-00294, Abnormal state of the server

# ERR_CMDCODE_NOT_SUPPORTED
295 = ERR-00295, Does not support the command code

# ERR_SERVER_TIMEOUT
296 = ERR-00296, Server overtime

# ERR_STACK_PROCESS_FAILED
297 = ERR-00297, The remote message stack failed

# ERR_SESSION_INVALID
298 = ERR-00298, Session have not started or overtime

# ERR_NO_SESSION_SERVER
299 = ERR-00299, No server has been found to handle the command code

# ERR_UPDATE_SERVICE_NO_SERVERMGR
300 = ERR-00300, No server manager found for updating service information

# ERR_SERVICE_HASNOT_SERVICE
301 = ERR-00301, Service support no command code

# ERR_LOCK_SERVICE
302 = ERR-00302, Failed to lock service

# ERR_UNLOCK_SERVICE
303 = ERR-00303, Failed to unlock service

# ERR_SERVICE_FUNC_INVALID
304 = ERR-00304, Invalid service handler function

# ERR_SERVICE_RESET_RSP_QUEUEMSG
305 = ERR-00305, Response queue message has already set

# ERR_NO_SERVICEINFO_FOR_HANDLER
306 = ERR-00306, Server information not exists for specified handler

# ERR_SESSION_ID_INVALID_LEN
307 = ERR-00307, Invalid session id length

# ERR_SESSION_DATA_EXIST
308 = ERR-00308, Session data with the same name does exists

# ERR_SESSION_USER_DATA_EXIST
309 = ERR-00309, Session user data with the same name does exists

# ERR_COMMAND_HANDLER_NOT_FOUND
310 = ERR-00310, Command handler not found

# ERR_COMMAND_HANDLER_MULTI
311 = ERR-00311, More than one command handler found

# ERR_COMMAND_NO_HANDLER
312 = ERR-00312, Command not supported

# ERR_INVALID_QUEUE_NAME
313 = ERR-00313, Invalid queue name

# ERR_QUEUE_NOT_EXIST
314 = ERR-00314, Queue does not exists

# ERR_QUEUE_EXIST
315 = ERR-00315, Queue already exists

# ERR_CREATE_QUEUE
316 = ERR-00316, Failed to create queue

# ERR_OPEN_QUEUE
317 = ERR-00317, Failed to open queue

# ERR_CLOSE_QUEUE
318 = ERR-00318, Failed close queue

# ERR_REMOVE_QUEUE
319 = ERR-00319, Failed remove queue

# ERR_ENQUEUE_MESSAGE
320 = ERR-00320, Failed enqueue message

# ERR_DEQUEUE_MESSAGE
321 = ERR-00321, Failed dequeue message

# ERR_QUEUE_FULL
322 = ERR-00322, Timeout to enqueue a full message queue

# ERR_QUEUE_NO_MESSAGE
323 = ERR-00323, Queue is empty or no message with the specified type found

# ERR_MAGICWARE_CONFIGFILE_MAGCRO
324 = ERR-00324, MAGIC_CONFIG macro not found

# ERR_OPEN_MAGICWARE_CONFIGFILE
325 = ERR-00325, Failed to open magiclayer config file

# ERR_INVALID_SERVER_TYPE
326 = ERR-00326, Invalid server type

# ERR_GET_FROM_REMOTE_QUEUE
327 = ERR-00327, Failed to get message from remote queue or the message is invalid

# ERR_GET_CLIENT_INTERFACE
328 = ERR-00328, Failed to get client interface

# ERR_INVALID_REQ_MESSAGE_FORMAT
329 = ERR-00329, Unexpected request message format

# ERR_INVALID_RSP_MESSAGE_FORMAT
330 = ERR-00330, Unexpected response message format

# ERR_INVALID_STORAGE
331 = ERR-00331, Storage not found

# ERR_INVALID_TABLEID
332 = ERR-00332, Invalid table id

# ERR_STORAGE_ADD_MISMATCH_TYPE
333 = ERR-00333, Type mismatch when add or modify item in storage

# ERR_STORAGE_EXIST_ITEM
334 = ERR-00334, Item does exists in storage

# ERR_INVALID_NUMBER_KEY
335 = ERR-00335, Invalid number key

# ERR_INVALID_STRING_KEY
336 = ERR-00336, Invalid string key

# ERR_NO_DB_CONNECTION
337 = ERR-00337, No connection available

# ERR_INVALID_TRANSID
338 = ERR-00338, Invalid transaction id

# ERR_DB_EXCEPTION
339 = ERR-00339, Database exception occurs

# ERR_INVALID_CONNECTION_STRING
340 = ERR-00340, Invalid connection string

# ERR_CHECK_LOG_TABLE
341 = ERR-00341, Failed to check if the log table exists

# ERR_INVALID_DB_OPERATOR
342 = ERR-00342, Invalid database operator

