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:
ExceptionRaised internally when a key cannot be loaded.
-
exception
bucketcache.exceptions.KeyFileNotFoundError[source]¶ Bases:
bucketcache.exceptions.KeyInvalidErrorRaised when file for key doesn’t exist.
-
exception
bucketcache.exceptions.KeyExpirationError[source]¶ Bases:
bucketcache.exceptions.KeyInvalidErrorRaised when key has expired.
-
exception
bucketcache.exceptions.BackendLoadError[source]¶ Bases:
ExceptionRaised when
bucketcache.backends.Backend.from_file()cannot load an object.