GE_ERRORNO

  • GE_ERRORNO

    Provides macros for registering two error codes (SUCCESS and FAILED) and their description.

    GE_ERRORNO(0, 0, 0, 0, 0, SUCCESS, 0, "success");

    GE_ERRORNO(0b11, 0b11, 0b111, 0xFF, 0b11111, FAILED, 0xFFF, "failed");

  • GE_ERRORNO_DEFINE

    Provides macros for defining error codes such as END_OF_SEQUENCE.

    GE_ERRORNO_DEFINE(0b01, 0b01, 0b000, 8, 0, END_OF_SEQUENCE, 7);

  • GE_ERRORNO_EXTERNAL

    Error code and error description macro. name is of the uint32_t type, and desc is of the std::string type.

    GE_ERRORNO_EXTERNAL(ACL_ERROR_GE_PARAM_INVALID, "Parameter invalid.");