diff --git a/src/dispatch/conversation/exceptions.py b/src/dispatch/conversation/exceptions.py deleted file mode 100644 index d4b62bd49689..000000000000 --- a/src/dispatch/conversation/exceptions.py +++ /dev/null @@ -1,22 +0,0 @@ -from dispatch.exceptions import DispatchException - - -class ConversationUpdateException(DispatchException): - """Base exception for all errors related to updating conversations.""" - - pass - - -class NoCaseConversationRelationException(ConversationUpdateException): - def __init__(self, case_id: int): - super().__init__(f"No relationship between case {case_id} and a conversation.") - - -class NoIncidentConversationRelationException(ConversationUpdateException): - def __init__(self, incident_id: int): - super().__init__(f"No relationship between incident {incident_id} and a conversation.") - - -class NoConversationPluginException(ConversationUpdateException): - def __init__(self, msg: str = None): - super().__init__("No conversation plugin enabled.") diff --git a/src/dispatch/document/exceptions.py b/src/dispatch/document/exceptions.py deleted file mode 100644 index 8e71b91a57a0..000000000000 --- a/src/dispatch/document/exceptions.py +++ /dev/null @@ -1,12 +0,0 @@ -from dispatch.exceptions import DispatchException - - -class ConversationUpdateException(DispatchException): - """Base exception for all errors related to updating conversations.""" - - pass - - -class NoDocumentRelationError(ConversationUpdateException): - def __init__(self, subject_id: int): - super().__init__(f"No relationship between subject {subject_id} and a document.")