Exceptions
shtk defines certain custom exceptions to indicate when certain events occur.
shtk.NonzeroExitCodeException
- class shtk.NonzeroExitCodeException(processes)
Bases:
Exception
Raised when a process within an SHTK job exits with a nonzero return code.
- Parameters
processes (list) – The PipelineProcess instances to include in the error message
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.