Exceptions
Core exception classes used throughout DiracX.
exceptions
Classes
DiracHttpResponseError
Bases: RuntimeError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
status_code = status_code
instance-attribute
data = data
instance-attribute
DiracError
Bases: RuntimeError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
http_status_code = HTTPStatus.BAD_REQUEST
class-attribute
instance-attribute
http_headers = None
class-attribute
instance-attribute
detail = detail
instance-attribute
AuthorizationError
PendingAuthorizationError
Bases: AuthorizationError
Used to signal the device flow the authentication is still ongoing.
Source code in diracx-core/src/diracx/core/exceptions.py
IAMServerError
Bases: DiracError
Used whenever we encounter a server problem with the IAM server.
Source code in diracx-core/src/diracx/core/exceptions.py
IAMClientError
Bases: DiracError
Used whenever we encounter a client problem with the IAM server.
Source code in diracx-core/src/diracx/core/exceptions.py
InvalidCredentialsError
Bases: DiracError
Used whenever the credentials are invalid.
Source code in diracx-core/src/diracx/core/exceptions.py
ConfigurationError
Bases: DiracError
Used whenever we encounter a problem with the configuration.
Source code in diracx-core/src/diracx/core/exceptions.py
BadConfigurationVersionError
Bases: ConfigurationError
The requested version is not known.
Source code in diracx-core/src/diracx/core/exceptions.py
InvalidQueryError
Bases: DiracError
It was not possible to build a valid database query from the given input.
Source code in diracx-core/src/diracx/core/exceptions.py
TokenNotFoundError
Bases: DiracError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
jti = jti
instance-attribute
JobNotFoundError
Bases: DiracError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
job_id = job_id
instance-attribute
SandboxNotFoundError
Bases: DiracError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
pfn = pfn
instance-attribute
se_name = se_name
instance-attribute
SandboxAlreadyAssignedError
Bases: DiracError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
pfn = pfn
instance-attribute
se_name = se_name
instance-attribute
SandboxAlreadyInsertedError
Bases: DiracError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
pfn = pfn
instance-attribute
se_name = se_name
instance-attribute
JobError
Bases: DiracError
Source code in diracx-core/src/diracx/core/exceptions.py
Attributes
job_id = job_id
instance-attribute
NotReadyError
Bases: DiracError
Tried to access a value which is asynchronously loaded but not yet available.