#ifndef ERROR_H
#define ERROR_H
#include <cassert></cassert>
typedef unsigned int ErrorCode;
enum : ErrorCode {
ERR_NONE = 0,
ERR_ADDRESS = 1000,
ERR_CONNECTION = 2000,
ERR_SERVER = 3000,
ERR_TCP = 4000,
};
ERR_COMMON = ERR_NONE + 1,
ERR_NOT_IMPLEMENTED,
#endif