From 0d0b37363452b7ae7ca442bf924bf8ba021b5a62 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 13 Oct 2023 14:49:36 +0800 Subject: [PATCH] update --- errorcode.cpp | 4 ++++ errorcode.hpp | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/errorcode.cpp b/errorcode.cpp index 30b567b..4e761bd 100644 --- a/errorcode.cpp +++ b/errorcode.cpp @@ -47,6 +47,10 @@ const char* error2str(int32_t code) { ERR2STR(kinteraction_error_passwd_error); ERR2STR(kinteraction_error_user_not_exist); ERR2STR(kce_buffer_not_enough); + ERR2STR(kce_cmd_not_found); + ERR2STR(kce_cmd_param_num_error); + ERR2STR(kce_no_such_module); + ERR2STR(kSMTP2_NoError); ERR2STR(kSMTP2_InitFail); ERR2STR(kSMTP2_InvalidCmd); diff --git a/errorcode.hpp b/errorcode.hpp index d1a0e1c..93f05db 100644 --- a/errorcode.hpp +++ b/errorcode.hpp @@ -56,6 +56,9 @@ typedef enum { kinteraction_error_passwd_error = ERROR_CODE(10000, 23), // ÃÜÂë´íÎó kinteraction_error_user_not_exist = ERROR_CODE(10000, 24), // Óû§²»´æÔÚ kce_buffer_not_enough = ERROR_CODE(10000, 25), + kce_cmd_not_found = ERROR_CODE(10000, 26), + kce_cmd_param_num_error = ERROR_CODE(10000, 27), + kce_no_such_module = ERROR_CODE(10000, 28), /** * @brief STMP2´íÎó @@ -85,7 +88,7 @@ typedef enum { } error_t; - const char* error2str(int32_t code); +const char* error2str(int32_t code); } // namespace err } // namespace iflytop \ No newline at end of file