Source code for libkirk.errors

"""
.. module:: errors
    :platform: Linux
    :synopsis: module containing errors raised by kirk.

.. moduleauthor:: Andrea Cervesato <andrea.cervesato@suse.com>
"""


[docs] class KirkException(Exception): """ The most generic exception that is raised by any module. All kirk errors derives from this class. """
[docs] class PluginError(KirkException): """ Raised when plugins operations have failed. """
[docs] class CommunicationError(KirkException): """ Raised when error occurs during channels communication. """
[docs] class SUTError(KirkException): """ Raised when error occurs in SUT. """
[docs] class KernelPanicError(KirkException): """ Raised during kernel panic. """
[docs] class KernelTaintedError(KirkException): """ Raised when kernel is tainted. """
[docs] class KernelTimeoutError(KirkException): """ Raised when kernel is not responding anymore. """
[docs] class FrameworkError(KirkException): """ Raised when an error occurs inside a framework. """
[docs] class ExporterError(KirkException): """ Raised when an error occurs during Exporter operations. """
[docs] class LTXError(KirkException): """ Raised when an error occurs during LTX execution. """
[docs] class SchedulerError(KirkException): """ Raised when an error occurs during Scheduler operations. """
[docs] class SessionError(KirkException): """ Raised when an error occurs during Session operations. """