changeset 45825 | 8f07f5a9c3de |
parent 45776 | 0fc8b066928a |
child 45827 | 8d72e29ad1e0 |
--- a/mercurial/error.py Tue Nov 03 09:56:02 2020 -0800 +++ b/mercurial/error.py Sat Nov 07 21:50:28 2020 -0800 @@ -130,6 +130,13 @@ __bytes__ = _tobytes +class WorkerError(Exception): + """Exception raised when a worker process dies.""" + + def __init__(self, status_code): + self.status_code = status_code + + class InterventionRequired(Hint, Exception): """Exception raised when a command requires human intervention."""