Skip to content

Commit

Permalink
fix: remove unused PilotNotFoundError exception
Browse files Browse the repository at this point in the history
  • Loading branch information
martynia committed Jan 17, 2025
1 parent 00ef8ed commit 6220b7e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions diracx-core/src/diracx/core/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ def __init__(self, job_id: int, detail: str | None = None):
super().__init__(f"Job {job_id} not found" + (" ({detail})" if detail else ""))


class PilotNotFoundError(Exception):
def __init__(self, pilot_stamp: str, detail: str | None = None):
self.pilot_stamp: str = pilot_stamp
super().__init__(
f"Pilot (stamp) {pilot_stamp} not found" + (" ({detail})" if detail else "")
)


class SandboxNotFoundError(Exception):
def __init__(self, pfn: str, se_name: str, detail: str | None = None):
self.pfn: str = pfn
Expand Down

0 comments on commit 6220b7e

Please sign in to comment.