errors#

Definitions for various error classes raised by cryosparc-tools functions

Exceptions:

APIError

Raised by failed request to a CryoSPARC API server.

DatasetLoadError

Exception type raised when a dataset cannot be loaded

ExternalJobError

Raised during external job lifecycle failures

JobError

Exception type raised when a job operation fails

ProjectError

Exception type raised when a project operations fails

WorkspaceError

Exception type raised when a workspace operation fails

exception APIError#

Raised by failed request to a CryoSPARC API server.

Methods:

__init__(reason, *args, res[, data])

__init__(reason: str, *args: object, res: Response, data: Any = None) → None#
exception DatasetLoadError#

Exception type raised when a dataset cannot be loaded

exception ExternalJobError#

Raised during external job lifecycle failures

Methods:

__init__(reason, *args, job)

__init__(reason: str, *args: object, job: ExternalJobController) → None#
exception JobError#

Exception type raised when a job operation fails

Methods:

__init__(reason, *args, job)

__init__(reason: str, *args: object, job: JobController) → None#
exception ProjectError#

Exception type raised when a project operations fails

Methods:

__init__(reason, *args, project)

__init__(reason: str, *args: object, project: ProjectController) → None#
exception WorkspaceError#

Exception type raised when a workspace operation fails

Methods:

__init__(reason, *args, workspace)

__init__(reason: str, *args: object, workspace: WorkspaceController) → None#