cryosparc.errors#

Definitions for various error classes raised by cryosparc-tools functions

Exceptions:

CommandError(reason, *args[, url, code, data])

Raised by failed request to a CryoSPARC command server.

DatasetLoadError

Exception type raised when a dataset cannot be loaded

ExternalJobError

Raised during external job lifecycle failures

InvalidSlotsError(caller, validation)

Raised by functions that accept slots arguments when CryoSPARC reports that given slots are not valid.

exception cryosparc.errors.CommandError(reason: str, *args: object, url: str = '', code: int = 500, data: Any | None = None)#

Raised by failed request to a CryoSPARC command server.

exception cryosparc.errors.DatasetLoadError#

Exception type raised when a dataset cannot be loaded

exception cryosparc.errors.ExternalJobError#

Raised during external job lifecycle failures

exception cryosparc.errors.InvalidSlotsError(caller: str, validation: SlotsValidation)#

Raised by functions that accept slots arguments when CryoSPARC reports that given slots are not valid.