This repository has been archived on 2021-11-25. You can view files and clone it, but cannot push or open issues or pull requests.
DBHomework/jsonfail.h
kiritow bb4c4dfb0e Lunch commit
Add editbook. Add err_parameter to jsonfail. Update design.
2017-11-20 14:17:31 +08:00

17 lines
350 B
C

#pragma once
#define err_need_login 1
#define err_method_not_supported 2
#define err_missing_parameter 3
#define err_config 4
#define err_connect 5
#define err_sql 6
#define err_sql_logic 7
#define err_permission_denied 8
#define err_data 9
#define err_session 10
#define err_general 11
#define err_parameter 12
const char* GetErrMsg(int errcode);