diff options
Diffstat (limited to 'error.py')
| -rw-r--r-- | error.py | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -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 | |||
| 79 | class 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 | ||
