#ifndef ERROR_H #define ERROR_H typedef unsigned int ErrorCode; enum : ErrorCode { ERR_NONE = 0, ERR_COMMON = 1000, ERR_TCP = 2000, }; #endif