Skip to content

Commit f7e99a2

Browse files
committed
fix: remove unused PilotNotFoundError exception
1 parent be8c9bb commit f7e99a2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

diracx-core/src/diracx/core/exceptions.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ def __init__(self, job_id: int, detail: str | None = None):
6464
super().__init__(f"Job {job_id} not found" + (" ({detail})" if detail else ""))
6565

6666

67-
class PilotNotFoundError(Exception):
68-
def __init__(self, pilot_stamp: str, detail: str | None = None):
69-
self.pilot_stamp: str = pilot_stamp
70-
super().__init__(
71-
f"Pilot (stamp) {pilot_stamp} not found" + (" ({detail})" if detail else "")
72-
)
73-
74-
7567
class SandboxNotFoundError(Exception):
7668
def __init__(self, pfn: str, se_name: str, detail: str | None = None):
7769
self.pfn: str = pfn

0 commit comments

Comments
 (0)