1.0.6 • Published 2 years ago
@blueprint-cn/error-codes v1.0.6
Error Codes
Description
应用统一错误吗(http resetful)
Code | Name | Message | Link-Soa | Remark |
---|---|---|---|---|
-1 | ServerError | 服务器内部错误 | ||
0 | OK | Success | ||
404 | APINotFound | 404 | ||
1010000 | ArgsError | 参数错误 | ||
1000000 | TokenError | 'token 不合法 | ||
1000001 | AccountError | 账号或密码错误 | ||
1000002 | UserIsBlocked | 账号已冻结 | ||
1000003 | Deny | 禁止操作 | ||
1000004 | AccountExisted | 账号已存在 | ||
1000005 | AccountNotFound | 账号不存在 | ||
1000006 | AssetNotFound | 资源没找到 | ||
1000007 | AssetExisted | 资源已经存在 |