Skip to content

Commit 5fe655a

Browse files
committed
优化注释
1 parent 2a1d9fc commit 5fe655a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/errors/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class QiniuError implements Error {
4040
export class QiniuRequestError extends QiniuError {
4141

4242
/**
43-
* @description 标志当前的 error 类型是一个 RequestError
44-
* @deprecated 下一个大版本将会移除
43+
* @description 标记当前的 error 类型是一个 QiniuRequestError
44+
* @deprecated 下一个大版本将会移除,不推荐使用,推荐直接使用 instanceof 进行判断
4545
*/
4646
public isRequestError = true
4747

0 commit comments

Comments
 (0)