cloudpathlib.exceptions¶
This module contains all custom exceptions in the cloudpathlib library. All exceptions
subclass the CloudPathException base exception to
facilitate catching any exception from this library.
Classes¶
AnyPathTypeError
¶
Bases: CloudPathException, TypeError
Source code in cloudpathlib/exceptions.py
11 12 | |
ClientMismatchError
¶
Bases: CloudPathException, ValueError
Source code in cloudpathlib/exceptions.py
15 16 | |
CloudPathException
¶
Bases: Exception
Base exception for all cloudpathlib custom exceptions.
Source code in cloudpathlib/exceptions.py
7 8 | |
CloudPathFileExistsError
¶
Bases: CloudPathException, FileExistsError
Source code in cloudpathlib/exceptions.py
19 20 | |
CloudPathFileNotFoundError
¶
Bases: CloudPathException, FileNotFoundError
Source code in cloudpathlib/exceptions.py
27 28 | |
CloudPathIsADirectoryError
¶
Bases: CloudPathException, IsADirectoryError
Source code in cloudpathlib/exceptions.py
31 32 | |
CloudPathNotADirectoryError
¶
Bases: CloudPathException, NotADirectoryError
Source code in cloudpathlib/exceptions.py
35 36 | |
CloudPathNotExistsError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
23 24 | |
CloudPathNotImplementedError
¶
Bases: CloudPathException, NotImplementedError
Source code in cloudpathlib/exceptions.py
39 40 | |
DirectoryNotEmptyError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
43 44 | |
IncompleteImplementationError
¶
Bases: CloudPathException, NotImplementedError
Source code in cloudpathlib/exceptions.py
47 48 | |
InvalidConfigurationException
¶
Bases: CloudPathException, ValueError
Source code in cloudpathlib/exceptions.py
55 56 | |
InvalidGlobArgumentsError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
86 87 | |
InvalidPrefixError
¶
Bases: CloudPathException, ValueError
Source code in cloudpathlib/exceptions.py
51 52 | |
MissingCredentialsError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
59 60 | |
MissingDependenciesError
¶
Bases: CloudPathException, ModuleNotFoundError
Source code in cloudpathlib/exceptions.py
63 64 | |
NoStatError
¶
Bases: CloudPathException
Used if stats cannot be retrieved; e.g., file does not exist or for some backends path is a directory (which doesn't have stats available).
Source code in cloudpathlib/exceptions.py
67 68 69 70 71 | |
OverwriteDirtyFileError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
74 75 | |
OverwriteNewerCloudError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
78 79 | |
OverwriteNewerLocalError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
82 83 | |