Skip to content

Commit be6c26a

Browse files
committed
fix: remove unused PilotNotFoundError exception
1 parent ead27e5 commit be6c26a

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
@@ -46,14 +46,6 @@ def __init__(self, job_id: int, detail: str | None = None):
4646
super().__init__(f"Job {job_id} not found" + (" ({detail})" if detail else ""))
4747

4848

49-
class PilotNotFoundError(Exception):
50-
def __init__(self, pilot_stamp: str, detail: str | None = None):
51-
self.pilot_stamp: str = pilot_stamp
52-
super().__init__(
53-
f"Pilot (stamp) {pilot_stamp} not found" + (" ({detail})" if detail else "")
54-
)
55-
56-
5749
class SandboxNotFoundError(Exception):
5850
def __init__(self, pfn: str, se_name: str, detail: str | None = None):
5951
self.pfn: str = pfn

0 commit comments

Comments
 (0)