Module: BaiduNetDisk::Exception
- Defined in:
- lib/baidu-netdisk/exception.rb
Defined Under Namespace
Classes: AccessTokenExpired, ArgumentError, AuthenticationFailed, FileExisted, PermissionDenied, RefreshTokenFailed, RefreshTokenNotProvided, SliceMissing, SpaceNotEnough, TooManyRequests, UnknownError, UploadDirectoryNotSupported, UserAuthorizationRequired
Constant Summary collapse
- MAPPING =
{ -10 => SpaceNotEnough, -8 => FileExisted, -7 => PermissionDenied, -6 => AuthenticationFailed, 1 => UnknownError, 2 => ArgumentError, 3 => PermissionDenied, 6 => UserAuthorizationRequired, 111 => AccessTokenExpired, 31034 => TooManyRequests, 31363 => SliceMissing }