equal
deleted
inserted
replaced
302 from .i18n import _ |
302 from .i18n import _ |
303 |
303 |
304 Abort.__init__(self, _(b'response expected')) |
304 Abort.__init__(self, _(b'response expected')) |
305 |
305 |
306 |
306 |
307 class OutOfBandError(Abort): |
307 class RemoteError(Abort): |
|
308 """Exception raised when interacting with a remote repo fails""" |
|
309 |
|
310 |
|
311 class OutOfBandError(RemoteError): |
308 """Exception raised when a remote repo reports failure""" |
312 """Exception raised when a remote repo reports failure""" |
309 |
313 |
310 def __init__(self, *messages, **kwargs): |
314 def __init__(self, *messages, **kwargs): |
311 from .i18n import _ |
315 from .i18n import _ |
312 |
316 |