| | 1 | == error code == |
| | 2 | |
| | 3 | === 错误返回值格式 === |
| | 4 | {{{ |
| | 5 | { |
| | 6 | "uri" : "/intf/albums-by-type.jsp", |
| | 7 | "error-code":"20502", |
| | 8 | "error-desc":"Need you follow uid.", |
| | 9 | "user-notice":"给用户的提示放在这里" |
| | 10 | } |
| | 11 | }}} |
| | 12 | |
| | 13 | === 错误代码说明 === |
| | 14 | 10001 |
| | 15 | |
| | 16 | ||1||00||01|| |
| | 17 | ||服务级错误(1为系统级错误,2为应用级错误)||服务模块代码||具体错误代码|| |
| | 18 | |
| | 19 | |
| | 20 | === 错误代码对照表 === |
| | 21 | |
| | 22 | ==== 系统错误 ==== |
| | 23 | ||10001||Invalid user ||不合法的用户|| |
| | 24 | ||10002||HTTP method is not suported for this request ||请求的HTTP方法不支持|| |
| | 25 | ||10003||Job expired ||任务超时|| |
| | 26 | ||10004||User is not login ||用户未登录|| |
| | 27 | ||10005||Invalid common session ||无效的common session|| |
| | 28 | ||10006||Invalid parameter ||无效的参数|| |
| | 29 | |
| | 30 | |
| | 31 | ==== 应用错误 ==== |
| | 32 | ||20000|| Unknown exception ||未知异常|| |
| | 33 | ||20101|| Out of limit,Please wait a moment . ||发布评论过于频繁|| |
| | 34 | ||20201|| Device id can not be empty ||设备ID不能为空|| |
| | 35 | ||20202|| Voted today ||今天已经投过票了|| |
| | 36 | |