feat: sync httpdns sdk/platform updates without large binaries
This commit is contained in:
13
HttpDNSSDK/spec/error-codes.md
Normal file
13
HttpDNSSDK/spec/error-codes.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 错误码规范
|
||||
|
||||
## 基础错误码
|
||||
- `SUCCESS`: 成功
|
||||
- `NO_RECORDS`: 无解析记录
|
||||
- `SIGN_INVALID`: 签名错误
|
||||
- `APP_NOT_FOUND`: 应用不存在
|
||||
- `INTERNAL_ERROR`: 服务内部错误
|
||||
|
||||
## 客户端处理建议
|
||||
- `NO_RECORDS`: 触发本地 DNS 或业务降级
|
||||
- `SIGN_INVALID`: 检查 appId/secret 与时钟
|
||||
- `INTERNAL_ERROR`: 重试 + 回退
|
||||
Reference in New Issue
Block a user