Ver código fonte

Z991239-632 #comment feature: ErrorCode 新增错误码 Error_MisMatched

gifur 5 anos atrás
pai
commit
96e2b82377
2 arquivos alterados com 2 adições e 0 exclusões
  1. 1 0
      Common/ErrorCode.h
  2. 1 0
      spbase/SpBase.cpp

+ 1 - 0
Common/ErrorCode.h

@@ -16,6 +16,7 @@ enum ErrorCodeEnum
 	Error_TooSmallBuffer,		   // buffer too small
 	Error_NotIntegrated,		    //The package or result is not intergrated
 	Error_CheckSum,				   //Check sum is not the same
+	Error_MisMatched,             //the expression is mismatching
 
 	//Target being's category
 	Error_TargetBeing=0x200,		

+ 1 - 0
spbase/SpBase.cpp

@@ -466,6 +466,7 @@ on_error:
 	MAP(Error_NotIntegrated, "Error_NotIntegrated")	\
 	MAP(Error_CheckSum, "Error_CheckSum")	\
     MAP(Error_NotConfig, "Error_NotConfig")	\
+	MAP(Error_MisMatched, "Error_MisMatched")	\
 	MAP(Error_TargetBeing, "Error_TargetBeing")	\
 	MAP(Error_NoTarget, "Error_NoTarget")	\
 	MAP(Error_NoDefine, "Error_NoDefine")	\