exc#

Exception creator and helpers, argument validators, and more.

s3pathlib.exc.ensure_one_and_only_one_not_none(**kwargs) None[source]#

Ensure only exact one of the keyword argument is not None.

s3pathlib.exc.ensure_all_none(**kwargs) None[source]#

Ensure all the keyword arguments are None.

exception s3pathlib.exc.S3NotExist[source]#
exception s3pathlib.exc.S3BucketNotExist[source]#
exception s3pathlib.exc.S3FolderNotExist[source]#
exception s3pathlib.exc.S3FileNotExist[source]#
exception s3pathlib.exc.S3AlreadyExist[source]#
exception s3pathlib.exc.S3BucketAlreadyExist[source]#
exception s3pathlib.exc.S3FolderAlreadyExist[source]#
exception s3pathlib.exc.S3FileAlreadyExist[source]#
exception s3pathlib.exc.S3PermissionDenied[source]#
exception s3pathlib.exc.S3PathIsNotBucketError[source]#
exception s3pathlib.exc.S3PathIsNotFolderError[source]#
exception s3pathlib.exc.S3PathIsNotFileError[source]#
exception s3pathlib.exc.S3PathIsNotRelpathError[source]#