exceptions

exception pyrosetta.distributed.cluster.exceptions.InputError(obj: Any, attribute: str)

Bases: TypeError

Exception raised for PyRosettaCluster attribute input errors for str and int types.

__init__(obj: Any, attribute: str) NoReturn
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception pyrosetta.distributed.cluster.exceptions.InputFileError(obj: Any)

Bases: TypeError

Exception raised for PyRosettaCluster errors for str and int types.

__init__(obj: Any) NoReturn
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception pyrosetta.distributed.cluster.exceptions.OutputError(obj: Any)

Bases: TypeError

Exception raised for worker output errors.

__init__(obj: Any) NoReturn
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception pyrosetta.distributed.cluster.exceptions.WorkerError(protocol_name: str)

Bases: WorkerLostError

Exception raised for worker errors.

__init__(protocol_name: str) NoReturn
static _msg(protocol_name: str) str
static _ignore_errors_msg(protocol_name: str) str
static _get_msg(protocol_name: str, ignore_errors: bool) str
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

pyrosetta.distributed.cluster.exceptions.trace_protocol_exceptions(func: T) Union[T, NoReturn]

Trace exceptions in user-provided PyRosetta protocols.

pyrosetta.distributed.cluster.exceptions.trace_subprocess_exceptions(func: T) Union[T, NoReturn]

Trace exceptions in billiard subprocesses.