Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/error.py @ 7947:a454eeb1b827
move util.Abort to error.py
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 03 Apr 2009 13:20:52 -0500 |
parents | e62a456b8dc5 |
children | fca54469480e |
comparison
equal
deleted
inserted
replaced
7946:9d36291f787a | 7947:a454eeb1b827 |
---|---|
60 class SignalInterrupt(KeyboardInterrupt): | 60 class SignalInterrupt(KeyboardInterrupt): |
61 """Exception raised on SIGTERM and SIGHUP.""" | 61 """Exception raised on SIGTERM and SIGHUP.""" |
62 | 62 |
63 class SignatureError(Exception): | 63 class SignatureError(Exception): |
64 pass | 64 pass |
65 | |
66 class Abort(Exception): | |
67 """Raised if a command needs to print an error and exit.""" |