Code
public enum Code : String, Decodable
Undocumented
-
二维码过期
Declaration
Swift
case qrCodeExpired = "QRCodeExpired"
-
容量超限
Declaration
Swift
case quotaExhaustedDrive = "QuotaExhausted.Drive"
-
access_token 过期
Declaration
Swift
case accessTokenExpired = "AccessTokenExpired"
-
access_token 格式不对
Declaration
Swift
case accessTokenInvalid = "AccessTokenInvalid"
-
refresh_token 过期
Declaration
Swift
case refreshTokenExpired = "RefreshTokenExpired"
-
refresh_token 格式不对
Declaration
Swift
case refreshTokenInvalid = "RefreshTokenInvalid"
-
用户已取消授权,或权限已失效,或 token 无效。需要重新发起授权
Declaration
Swift
case permissionDenied = "PermissionDenied"
-
回收站文件不允许操作
Declaration
Swift
case forbiddenFileInTheRecycleBin = "ForbiddenFileInTheRecycleBin"
-
用户容量超限,限制播放,需要扩容或者删除不必要的文件释放空间
Declaration
Swift
case exceedCapacityForbidden = "ExceedCapacityForbidden"
-
文件找不到
Declaration
Swift
case notFound = "NotFound.FileId"
-
请求过快
Declaration
Swift
case tooManyRequests = "TooManyRequests"
-
应用不存在
Declaration
Swift
case appNotExists = "AppNotExists"
-
应用密钥不对
Declaration
Swift
case invalidClientSecret = "InvalidClientSecret"
-
授权码为空或过期
Declaration
Swift
case invalidCode = "InvalidCode"
-
应用ID和构造授权链接时填的不一致
Declaration
Swift
case invalidClientId = "InvalidClientId"
-
无效的担保类型,目前仅支持 authorization_code 和 refresh_token
Declaration
Swift
case invalidGrantType = "InvalidGrantType"
-
文件drive被锁,操作无法执行
Declaration
Swift
case forbiddenDriveLocked = "ForbiddenDriveLocked"
-
非法访问drive
Declaration
Swift
case forbiddenDriveNotValid = "ForbiddenDriveNotValid"
-
快传预检匹配成功
Declaration
Swift
case preHashMatched = "PreHashMatched"