소스 검색

fix: remove unused exceptions

trgiangdo 2 달 전
부모
커밋
dd09091d96
1개의 변경된 파일1개의 추가작업 그리고 17개의 파일을 삭제
  1. 1 17
      taipy/core/exceptions/exceptions.py

+ 1 - 17
taipy/core/exceptions/exceptions.py

@@ -28,10 +28,6 @@ class OrchestratorServiceIsAlreadyRunning(Exception):
     """Raised if the Orchestrator service is already running."""
 
 
-class EntityAlreadyExists(Exception):
-    """Raised if it is trying to create an Entity that has already existed."""
-
-
 class NonExistingEntity(Exception):
     """Raised if a requested entity is not known by the Entity Manager."""
 
@@ -40,19 +36,7 @@ class NonExistingEntity(Exception):
 
 
 class CycleAlreadyExists(Exception):
-    """Raised if it is trying to create a Cycle that has already existed."""
-
-
-class DataNodeAlreadyExists(Exception):
-    """Raised if it is trying to create a DataNode that has already existed."""
-
-
-class TaskAlreadyExists(Exception):
-    """Raised if it is trying to create a Task that has already existed."""
-
-
-class ScenarioAlreadyExists(Exception):
-    """Raised if it is trying to create a Scenario that has already existed."""
+    """Raised if it is trying to create a Cycle that has already exists."""
 
 
 class NonExistingCycle(Exception):