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 |
|
CloudPathIsADirectoryError
¶
Bases: CloudPathException
, IsADirectoryError
Source code in cloudpathlib/exceptions.py
27 28 |
|
CloudPathNotADirectoryError
¶
Bases: CloudPathException
, NotADirectoryError
Source code in cloudpathlib/exceptions.py
31 32 |
|
CloudPathNotExistsError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
23 24 |
|
CloudPathNotImplementedError
¶
Bases: CloudPathException
, NotImplementedError
Source code in cloudpathlib/exceptions.py
35 36 |
|
DirectoryNotEmptyError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
39 40 |
|
IncompleteImplementationError
¶
Bases: CloudPathException
, NotImplementedError
Source code in cloudpathlib/exceptions.py
43 44 |
|
InvalidConfigurationException
¶
Bases: CloudPathException
, ValueError
Source code in cloudpathlib/exceptions.py
51 52 |
|
InvalidPrefixError
¶
Bases: CloudPathException
, ValueError
Source code in cloudpathlib/exceptions.py
47 48 |
|
MissingCredentialsError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
55 56 |
|
MissingDependenciesError
¶
Bases: CloudPathException
, ModuleNotFoundError
Source code in cloudpathlib/exceptions.py
59 60 |
|
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
63 64 65 66 67 |
|
OverwriteDirtyFileError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
70 71 |
|
OverwriteNewerCloudError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
74 75 |
|
OverwriteNewerLocalError
¶
Bases: CloudPathException
Source code in cloudpathlib/exceptions.py
78 79 |
|