changeset 46976 | f9482db16cef |
parent 46975 | 14ddb1dca2c0 |
child 46981 | abd18d6306f1 |
--- a/mercurial/error.py Mon Apr 19 10:49:15 2021 -0700 +++ b/mercurial/error.py Mon Apr 19 09:37:01 2021 -0700 @@ -304,7 +304,11 @@ Abort.__init__(self, _(b'response expected')) -class OutOfBandError(Abort): +class RemoteError(Abort): + """Exception raised when interacting with a remote repo fails""" + + +class OutOfBandError(RemoteError): """Exception raised when a remote repo reports failure""" def __init__(self, *messages, **kwargs):