Source code for pymco.exc

"""
:py:mod:`pymco.exc`
-------------------
python-mcollective exceptions.
"""


[docs]class PyMcoException(Exception): """Base class for all python-mcollective exceptions"""
[docs]class ImproperlyConfigured(PyMcoException): """Exception raised on configuration errors."""
[docs]class ConfigLookupError(PyMcoException): """Exception raised on configuration lookups errors."""
[docs]class BadFilterFactOperator(PyMcoException): """Exception raised when trying to add an unsopported fact operator to filters."""
[docs]class TimeoutError(PyMcoException): """Exception to be raised on timeouts"""
[docs]class VerificationError(PyMcoException): """Exception to be raised on message verification errors."""