Errors
Here are the different exceptions that the SDK may rise.
BatchCancellingError(e)
Bases: BatchException
Exception class raised when batch cancelling failed.
Source code in pasqal_cloud/errors.py
BatchClosingError(e)
Bases: BatchException
Exception class raised when closing batch failed.
Source code in pasqal_cloud/errors.py
BatchCreationError(e)
Bases: BatchException
Exception class when batch creation failed
Source code in pasqal_cloud/errors.py
BatchException(msg, e=None)
Bases: ExceptionWithResponseContext
Base Exception class for batches
Source code in pasqal_cloud/errors.py
BatchFetchingError(e)
Bases: BatchException
Exception class raised when batch fetching failed.
Source code in pasqal_cloud/errors.py
DeviceSpecsException
Bases: BaseException
Base Exception class for device specs
DeviceSpecsFetchingError(e)
Bases: DeviceSpecsException
Exception class raised when fetching of device specs failed.
Source code in pasqal_cloud/errors.py
InvalidWorkloadResultsFormatError(result_type)
Bases: WorkloadException
Exception class raised when download results succeeded but format is not as expected.
Source code in pasqal_cloud/errors.py
JobCancellingError(e)
Bases: JobException
Exception class raised when job cancelling failed.
Source code in pasqal_cloud/errors.py
JobCreationError(e)
Bases: JobException
Exception class raised when job creation failed.
Source code in pasqal_cloud/errors.py
JobException(msg, e=None)
Bases: ExceptionWithResponseContext
Base Exception class for jobs.
Source code in pasqal_cloud/errors.py
JobFetchingError(e)
Bases: JobException
Exception class raised when job fetching failed.
Source code in pasqal_cloud/errors.py
JobRetryError()
OnlyCompleteOrOpenCanBeSet()
RebatchError(e)
Bases: BatchException
Exception class raised when batch retry failed.
Source code in pasqal_cloud/errors.py
WorkloadCancellingError(e)
Bases: WorkloadException
Exception class raised when cancelling workload failed.
Source code in pasqal_cloud/errors.py
WorkloadCreationError(e)
Bases: WorkloadException
Exception class raised when workload creation failed.
Source code in pasqal_cloud/errors.py
WorkloadException(msg, e=None)
Bases: ExceptionWithResponseContext
Base exception class for workloads.
Source code in pasqal_cloud/errors.py
WorkloadFetchingError(e)
Bases: WorkloadException
Exception class raised when workload fetching failed.
Source code in pasqal_cloud/errors.py
WorkloadResultsConnectionError(e)
WorkloadResultsDecodeError()
Bases: WorkloadException
Exception class raised when download results succeeded but decoding failed.
Source code in pasqal_cloud/errors.py
WorkloadResultsDownloadError(e)
Bases: WorkloadException
Exception class raised when failed to download results.