Skip to content

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

ClientMismatchError

CloudPathException

Base exception for all cloudpathlib custom exceptions.

CloudPathFileExistsError

CloudPathIsADirectoryError

CloudPathNotADirectoryError

DirectoryNotEmptyError

IncompleteImplementationError

InvalidPrefixError

MissingCredentialsError

MissingDependenciesError

NoStatError

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).

OverwriteDirtyFileError

OverwriteNewerCloudError

OverwriteNewerLocalError