cryosparc.errors

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

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: Optional[Any] = 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.InvalidSlotsError(caller: str, validation: SlotsValidation)#

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