2023-03-06 07:11:27 +08:00
|
|
|
# 所有常量统一定义区
|
|
|
|
|
2023-04-14 11:50:18 +08:00
|
|
|
# 错误代码定义
|
|
|
|
ERROR_CLIENT_PARAM_BLANK="Client.Parameter.Blank.Error"
|
2023-04-14 13:15:35 +08:00
|
|
|
ERROR_CLIENT_PARAM_Format="Client.Parameter.Format.Error"
|
2023-04-14 11:50:18 +08:00
|
|
|
ERROR_CLIENT_PARAM_NOTEXIST="Client.Parameter.Value.NotExist.Error"
|
|
|
|
ERROR_CLIENT_PARAM_REPEAT="Client.Parameter.Value.Repeat.Error"
|
|
|
|
ERROR_SERVER_COMMAND="Server.Container.Error"
|
|
|
|
ERROR_SERVER_SYSTEM="Server.SystemError"
|
|
|
|
ERROR_SERVER_RESOURCE="Server.ResourceError"
|
|
|
|
|
2023-04-19 11:01:02 +08:00
|
|
|
# 错误信息定义
|
|
|
|
ERRORMESSAGE_CLIENT_PARAM_BLANK="Client.Parameter.Blank.Error"
|
|
|
|
ERRORMESSAGE_CLIENT_PARAM_Format="Client.Parameter.Format.Error"
|
|
|
|
ERRORMESSAGE_CLIENT_PARAM_NOTEXIST="Client.Parameter.Value.NotExist.Error"
|
|
|
|
ERRORMESSAGE_CLIENT_PARAM_REPEAT="Client.Parameter.Value.Repeat.Error"
|
|
|
|
ERRORMESSAGE_SERVER_COMMAND="Server.Container.Error"
|
|
|
|
ERRORMESSAGE_SERVER_SYSTEM="Server.SystemError"
|
|
|
|
ERRORMESSAGE_SERVER_RESOURCE="Server.ResourceError"
|
|
|
|
|
2023-03-06 07:11:27 +08:00
|
|
|
# 应用状态定义
|
2023-03-30 15:07:46 +08:00
|
|
|
# 应用启动中 installing
|
2023-04-14 11:20:44 +08:00
|
|
|
APP_STATUS_INSTALLING = "installing"
|
2023-03-30 15:07:46 +08:00
|
|
|
# 应用正在运行 running
|
2023-04-14 11:20:44 +08:00
|
|
|
APP_STATUS_RUNNING = "running"
|
|
|
|
# 应用已经停止 exited
|
|
|
|
APP_STATUS_EXITED = "exited"
|
|
|
|
# 应用不断重启 restarting
|
|
|
|
APP_STATUS_RESTARTING = "restarting"
|
|
|
|
# 应用错误 failed
|
2023-04-19 11:01:02 +08:00
|
|
|
APP_STATUS_FAILED = "failed"
|