GE_ERRORNO
- GE_ERRORNO
错误码及描述注册宏,该宏对外提供了SUCCESS和FAILED两个错误,供用户使用:
GE_ERRORNO(0, 0, 0, 0, 0, SUCCESS, 0, "success");
GE_ERRORNO(0b11, 0b11, 0b111, 0xFF, 0b11111, FAILED, 0xFFF, "failed");
- GE_ERRORNO_DEFINE
错误码定义宏,该宏对外提供了END_OF_SEQUENCE错误,供用户使用:
GE_ERRORNO_DEFINE(0b01, 0b01, 0b000, 8, 0, END_OF_SEQUENCE, 7);
- GE_ERRORNO_EXTERNAL
错误码及其错误描述信息宏,name是uint32_t类型,desc是std::string类型:
GE_ERRORNO_EXTERNAL(ACL_ERROR_GE_PARAM_INVALID, "Parameter invalid.");
父主题: 其他接口