forked from p15670423/monkey
Island: Add UnknownRecordError to repository.errors
This commit is contained in:
parent
694cdca883
commit
1de552ea94
|
@ -1,4 +1,4 @@
|
|||
from .errors import RemovalError, RetrievalError, StorageError
|
||||
from .errors import RemovalError, RetrievalError, StorageError, UnknownRecordError
|
||||
|
||||
|
||||
from .i_file_repository import FileNotFoundError, IFileRepository
|
||||
|
|
|
@ -20,3 +20,9 @@ class StorageError(RuntimeError):
|
|||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class UnknownRecordError(RuntimeError):
|
||||
"""
|
||||
Raised when the repository does not contain any data matching the request.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue