Island: Add RetrievalError

This commit is contained in:
Mike Salvatore 2022-06-17 12:14:30 -04:00
parent 30065952a5
commit 922cb8cea9
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
from .errors import RetrievalError
from .file_storage import FileRetrievalError, IFileRepository, LocalStorageFileRepository
from .i_agent_binary_repository import IAgentBinaryRepository, AgentRetrievalError
from .agent_binary_repository import AgentBinaryRepository
from .i_agent_configuration_repository import IAgentConfigurationRepository
from .file_agent_configuration_repository import FileAgentConfigurationRepository
from .errors import RetrievalError

View File

@ -1,8 +1,10 @@
import abc
from typing import BinaryIO
from monkey_island.cc.repository import RetrievalError
class FileRetrievalError(RuntimeError):
class FileRetrievalError(RetrievalError):
pass