From 34d9bc6d918a045712f2d68776d03de058214f59 Mon Sep 17 00:00:00 2001 From: carsonxu <459452372@qq.com> Date: Wed, 3 Feb 2021 20:48:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E9=94=99=E8=AF=AF=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=BB=BA=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 3516e2f..be980ee 100644 --- a/index.d.ts +++ b/index.d.ts @@ -249,7 +249,7 @@ declare namespace COS { code: string, /** 错误信息 */ message: string, - /** 错误信息,可能是参数错误、客户端出错、或服务端返回的错误 */ + /** 兼容老的错误信息字段,不建议使用,可能是参数错误、客户端出错、或服务端返回的错误 */ error: string | Error | { Code: string, Message: string }, } /** 回调的错误格式,其中服务端返回错误码可查看 @see https://cloud.tencent.com/document/product/436/7730 */