mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 00:40:55 +08:00
24 lines
483 B
C++
24 lines
483 B
C++
|
#pragma once
|
|||
|
|
|||
|
#define HS_ERR_INVALID_REPLY -7 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
|||
|
#define HS_ERR_EMPTY -6 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>
|
|||
|
#define HS_ERR_PARAMS -5 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define HS_ERR_NOT_OPEN -4 // <20><>δ<EFBFBD><CEB4><EFBFBD><EFBFBD>
|
|||
|
#define HS_ERR_READ -3 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define HS_ERR_WRITE -2 // д<><D0B4><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define HS_ERR_CONN -1 // <20><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define HS_ERR_OK 0 // <20><>ȷ
|
|||
|
|
|||
|
namespace acl {
|
|||
|
|
|||
|
class hserror
|
|||
|
{
|
|||
|
public:
|
|||
|
hserror();
|
|||
|
~hserror();
|
|||
|
|
|||
|
static const char* get_serror(int errnum);
|
|||
|
};
|
|||
|
|
|||
|
} // namespace acl
|