summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
Diffstat (limited to 'error.py')
-rw-r--r--error.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/error.py b/error.py
index cb3b7258..52381581 100644
--- a/error.py
+++ b/error.py
@@ -75,3 +75,10 @@ class RepoChangedException(Exception):
75 """ 75 """
76 def __init__(self, extra_args=[]): 76 def __init__(self, extra_args=[]):
77 self.extra_args = extra_args 77 self.extra_args = extra_args
78
79class HookError(Exception):
80 """Thrown if a 'repo-hook' could not be run.
81
82 The common case is that the file wasn't present when we tried to run it.
83 """
84 pass