Source code for repomate_plug.exception

"""Exceptions for repomate_plug.

.. module:: exception
    :synopsis: Exceptions for repomate_plug.

.. moduleauthor:: Simon Larsén
"""


[docs]class PlugError(Exception): """Base class for all repomate_plug exceptions."""
[docs]class HookNameError(PlugError): """Raise when a public method in a class that inherits from :py:class:`~repomate_plug.Plugin` does not have a hook name. """