Files
git-hooks/hooks/errors.py
Joel Brobecker 7f9a9298e9 Create errors.py and move InvalidUpdate there.
The fact that utils.py imports config.py makes it difficult for
config.py to access the InvalidUpdate exception.  So move this
exception to its own package, free of dependencies.

Preparation work for LC27-007.
2012-12-28 13:43:27 +04:00

9 lines
168 B
Python

"""Exceptions while processing a reference update...
"""
class InvalidUpdate(Exception):
"""An exception raised when the update is not accepted.
"""
pass