Skip to content

Commit 34d9bc6

Browse files
committed
提示错误字段建议
1 parent 23a1efd commit 34d9bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ declare namespace COS {
249249
code: string,
250250
/** 错误信息 */
251251
message: string,
252-
/** 错误信息,可能是参数错误、客户端出错、或服务端返回的错误 */
252+
/** 兼容老的错误信息字段,不建议使用,可能是参数错误、客户端出错、或服务端返回的错误 */
253253
error: string | Error | { Code: string, Message: string },
254254
}
255255
/** 回调的错误格式,其中服务端返回错误码可查看 @see https://cloud.tencent.com/document/product/436/7730 */

0 commit comments

Comments
 (0)