Island: Add UnknownRecordError to repository.errors

This commit is contained in:
Mike Salvatore 2022-08-29 15:14:03 -04:00
parent 694cdca883
commit 1de552ea94
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
from .errors import RemovalError, RetrievalError, StorageError
from .errors import RemovalError, RetrievalError, StorageError, UnknownRecordError
from .i_file_repository import FileNotFoundError, IFileRepository

View File

@ -20,3 +20,9 @@ class StorageError(RuntimeError):
"""
pass
class UnknownRecordError(RuntimeError):
"""
Raised when the repository does not contain any data matching the request.
"""