bucketcache.exceptions¶
These exceptions do not bubble up from user-facing methods. They are raised by private methods only.
-
exception
bucketcache.exceptions.
KeyInvalidError
[source]¶ Bases:
Exception
Raised internally when a key cannot be loaded.
-
exception
bucketcache.exceptions.
KeyFileNotFoundError
[source]¶ Bases:
bucketcache.exceptions.KeyInvalidError
Raised when file for key doesn’t exist.
-
exception
bucketcache.exceptions.
KeyExpirationError
[source]¶ Bases:
bucketcache.exceptions.KeyInvalidError
Raised when key has expired.
-
exception
bucketcache.exceptions.
BackendLoadError
[source]¶ Bases:
Exception
Raised when
bucketcache.backends.Backend.from_file()
cannot load an object.