Преглед на файлове

metadata_manager: get rid of exceptions.py

They are nowhere being used now. The need for TooManyInstancesError can be fulfilled using the RuntimeError exception.
Shiv Tyagi преди 11 месеца
родител
ревизия
ce27e9a6f1
променени са 1 файла, в които са добавени 0 реда и са изтрити 8 реда
  1. 0 8
      metadata_manager/exceptions.py

+ 0 - 8
metadata_manager/exceptions.py

@@ -1,8 +0,0 @@
-class MetadataManagerException(Exception):
-    pass
-
-
-class TooManyInstancesError(MetadataManagerException):
-    def __init__(self, name: str):
-        message = f"{name} should be a singleton."
-        super().__init__(message)