Source code for Bcfg2.Server.Plugin.exceptions
""" Exceptions for Bcfg2 Server Plugins."""
[docs]class PluginInitError(Exception):
"""Error raised in cases of
:class:`Bcfg2.Server.Plugin.base.Plugin` initialization errors."""
pass
[docs]class PluginExecutionError(Exception):
"""Error raised in case of
:class:`Bcfg2.Server.Plugin.base.Plugin` execution errors."""
pass
[docs]class ValidationError(Exception):
""" Exception raised by
:class:`Bcfg2.Server.Plugin.interfaces.StructureValidator` and
:class:`Bcfg2.Server.Plugin.interfaces.GoalValidator` objects """
[docs]class SpecificityError(Exception):
""" Thrown by :class:`Bcfg2.Server.Plugin.helpers.Specificity` in
case of filename parse failure."""
pass