Skip to content
Snippets Groups Projects
Verified Commit 40258d7b authored by drebs's avatar drebs
Browse files

[feature] add an exception for blobs not found

parent 9453dbea
Branches
No related tags found
1 merge request!169#9007 - improve and document IBlobsBackend
......@@ -58,6 +58,12 @@ VALID_STRINGS = re.compile('^[a-zA-Z0-9_-]+$')
# [ ] chunking (should we do it on the client or on the server?)
class BlobNotFound(Exception):
"""
Raised when a blob is not found in data storage backend.
"""
@implementer(interfaces.IBlobsBackend)
class FilesystemBlobsBackend(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment