Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-12 09:35:35

0001 """
0002 Dedicated exceptions for panda-server.
0003 """
0004 
0005 
0006 # raised when file registration in DDM fails; fatal=True means non-retryable
0007 class FileRegistrationError(Exception):
0008     def __init__(self, message: str = "", fatal: bool = False):
0009         super().__init__(message)
0010         self.fatal = fatal
0011 
0012 
0013 # raised when Rucio rejects a subscription registration (e.g. invalid RSE expression)
0014 class SubscriptionRegistrationError(Exception):
0015     pass
0016 
0017 
0018 # raised when Rucio rejects a dataset location registration (invalid RSE expression / insufficient quota)
0019 class DatasetLocationError(Exception):
0020     pass