Skip to content

Commit

Permalink
提示错误字段建议
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Feb 3, 2021
1 parent 23a1efd commit 34d9bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 34d9bc6

Please sign in to comment.