changeset 26692 | 8d1cfd77b64f |
parent 26683 | 634666c48b7d |
child 26693 | 338af85109dd |
--- a/mercurial/error.py Wed Oct 14 11:05:53 2015 -0700 +++ b/mercurial/error.py Mon Oct 12 18:49:23 2015 -0700 @@ -57,6 +57,12 @@ """Raised if a command needs to print an error and exit.""" pass +class HookLoadError(Abort): + """raised when loading a hook fails, aborting an operation + + Exists to allow more specialized catching.""" + pass + class HookAbort(Abort): """raised when a validation hook fails, aborting an operation