diff --git a/diracx-core/src/diracx/core/exceptions.py b/diracx-core/src/diracx/core/exceptions.py index 2f30a63a..7ac591e3 100644 --- a/diracx-core/src/diracx/core/exceptions.py +++ b/diracx-core/src/diracx/core/exceptions.py @@ -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