exceptions

exception DIRAC.Core.Utilities.exceptions.AuthError

Bases: DIRACInitError

Exception for when DIRAC initialization fails due to authentication issues

__init__(*args, **kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception DIRAC.Core.Utilities.exceptions.DIRACInitError

Bases: RuntimeError

Base exception that is raised when DIRAC initialization fails

__init__(*args, **kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception DIRAC.Core.Utilities.exceptions.DiracWarning

Bases: UserWarning

Generic warning class for DIRAC

__init__(*args, **kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception DIRAC.Core.Utilities.exceptions.NotConfiguredError

Bases: DIRACInitError

Exception that is raised when DIRAC is not configured

__init__(*args, **kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.