Skip to content

Commit 97be9c5

Browse files
committed
更新 README
1 parent f0834f3 commit 97be9c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ qiniu.compressImage(file, options).then(data => {
178178
* message: `string` 错误的信息。
179179
* stack: `string` 调用堆栈信息。
180180
* `QiniuRequestError` 继承自 `QiniuError`
181+
* data: `{[key:string]:any}` 服务端返回的错误信息,如果不是一个标准的 `json` 格式,则该字段为 `undefined`
181182
* reqId: `string` xhr 请求错误的 `X-Reqid`
182183
* code: `number` 请求错误状态码,可查阅码值对应 [说明](https://developer.qiniu.com/kodo/api/3928/error-responses)。
183184
* isRequestError: 固定为 `true`*不推荐使用,即将废弃*

0 commit comments

Comments
 (0)