Fix: standardize the use of error codes related to login credentials

This commit is contained in:
HFO4
2020-12-08 20:13:42 +08:00
parent c87109c8b1
commit 055ed0e075
5 changed files with 9 additions and 7 deletions

View File

@ -52,6 +52,8 @@ const (
CodeNotFound = 404
// CodeUploadFailed 上传出错
CodeUploadFailed = 40002
// CodeCredentialInvalid 凭证无效
CodeCredentialInvalid = 40001
// CodeCreateFolderFailed 目录创建失败
CodeCreateFolderFailed = 40003
// CodeObjectExist 对象已存在