barecat.exceptions#

Exceptions indicating various errors related to the use of Barecat archives

Exceptions#

BarecatError

Base class for all exceptions in Barecat

FileExistsBarecatError

Exception raised when trying to create a file that already exists

FileNotFoundBarecatError

Exception raised when trying to access a file that does not exist

DirectoryNotEmptyBarecatError

Exception raised when trying to delete a non-empty directory

IsADirectoryBarecatError

Exception raised when trying to access a directory as a file.

NotADirectoryBarecatError

Exception raised when trying to access a file as a directory.

BarecatIntegrityError

Exception raised when the CRC32C checksum of a file does not match the expected checksum

NotEnoughSpaceBarecatError

Exception raised when there is not enough space to write a file to the archive

FileTooLargeBarecatError

Exception raised when a file exceeds the shard_size_limit.