瀏覽代碼

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)