Island: Add monkey_island.cc.repository.RemovalError
This commit is contained in:
parent
63404c7bed
commit
cd1481e4fe
|
@ -1,4 +1,4 @@
|
||||||
from .errors import RetrievalError, StorageError
|
from .errors import RemovalError, RetrievalError, StorageError
|
||||||
from .file_storage import FileNotFoundError, IFileRepository, LocalStorageFileRepository
|
from .file_storage import FileNotFoundError, IFileRepository, LocalStorageFileRepository
|
||||||
from .i_agent_binary_repository import IAgentBinaryRepository
|
from .i_agent_binary_repository import IAgentBinaryRepository
|
||||||
from .agent_binary_repository import AgentBinaryRepository
|
from .agent_binary_repository import AgentBinaryRepository
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
class RemovalError(RuntimeError):
|
||||||
|
"""
|
||||||
|
Raised when a repository encounters an error while attempting to remove data.
|
||||||
|
"""
|
||||||
|
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class RetrievalError(RuntimeError):
|
class RetrievalError(RuntimeError):
|
||||||
"""
|
"""
|
||||||
Raised when a repository encounters an error while attempting to retrieve data.
|
Raised when a repository encounters an error while attempting to retrieve data.
|
||||||
|
|
Loading…
Reference in New Issue