Source code for qtoolkit.core.exceptions
[docs]
class QTKException(Exception):
"""
Base class for all the exceptions generated by qtoolkit.
"""
[docs]
class CommandFailedError(QTKException):
"""
Exception raised when the execution of a command has failed,
typically by a non-zero return code.
"""
[docs]
class OutputParsingError(QTKException):
"""
Exception raised when errors are recognized during the parsing
of the outputs of command.
"""
[docs]
class UnsupportedResourcesError(QTKException):
"""
Exception raised when the resources requested are not supported
in qtoolkit for the chosen scheduler.
"""