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);
父主题: 其他接口