2024年3月9日发(作者:)

HTTP请求的错误码大全

//ACTION_ERROR 错误定义

#define RS_OK 0

#define RS_ERROR -1

#define RS_HTTP_COMP_SERVER_EMPTY 2000 //HTTP返回

字节数为0,服务器确实没有一个文件和目录.

#define RS_HTTP_RETURN_NULL 1000//HTTP返回字节数为0

#define RS_HTTP_RETURNBYTE_ERROR 1001//HTTP返回字节

与读出字节不相同

#define RS_NOCAPTCHA 1002//不需要验证码

#define RS_RELOGIN 1003//重新登陆

#define RS_PASSWORDERROR 1004//用户名密码错误

#define RS_LOGINERROR 1005//登陆失败

#define RS_INTERNETDISK_NOTENOUGH 1006//网盘空间不

#define RS_HTTP_READFILE_ERR 1007

#define RS_HTTP_MD5_NOTMATCH 1008

#define RS_DOWNLOAD_MOVEFILE_ERROR 1009//下载文件

后,移动文件失败

#define RS_HTTP_SIZE_NOTMATCH 1011//文件长度不同

#define RS_JsonOverflowException 2001

#define RS_JsonNullPointerException 2002

#define RS_JsonInvalidateIndexException 2003

#define RS_JsonInvalidateParamException 2004

#define RS_JsonUnsupportException 2005

#define RS_JsonUnimplementException 2006

#define RS_JsonWrongFormatException 2007

#define RS_JsonMemberNotFoundException 2008

#define RS_JsonException 2009

#define RS_NONONCE 3001//下载挑战值失败

#define RS_INPUT_NULL 3002//输入参数为空

#define RS_OPENURLERROR 4001//打开网络连接失败

#define RS_GETMSGURL 4002//获取心跳包URL失败

#define RS_MSGCOMEBACK 4003//自己消息回调

//

#define RS_DISK_NOTENOUGH 4004//磁盘不足

#define RS_DISK_FULL 4005//磁盘已经满了

#define RS_UPLOAD_FILE_NOTEXIST 4006//上传的文件不存在,

或者上传的为目录

#define RS_UPLOAD_FILE_LATER 4007 //过一会儿再上传

#define RS_UPLOAD_FILE_TOO_BIG 4008 //文件超大

#define RS_UNKONWN_UPLOAD 4009//无法识别上传命令

#define RS_TIMEOUT 4010

#define RS_PARENT_PATH_NOT_EXIST 4011

#define RS_EXIST_FILE 4012

#define RS_HTTP_REGETCLIENTID 4013

12001 ERROR_INTERNET_OUT_OF_HANDLES

No more handles could be generated at this time.

12002 ERROR_INTERNET_TIMEOUT

The request has timed out.

12003 ERROR_INTERNET_EXTENDED_ERROR

An extended error was returned from the server. This is