comparison mercurial/error.py @ 7644:182b7114d35a

error: move SignalInterrupt now derived from KeyboardInterrupt to simplify catches
author Matt Mackall <mpm@selenic.com>
date Mon, 12 Jan 2009 11:48:05 -0600
parents 9a1ea6587557
children e62a456b8dc5
comparison
equal deleted inserted replaced
7643:9a1ea6587557 7644:182b7114d35a
54 """Exception raised if command is not in the command table.""" 54 """Exception raised if command is not in the command table."""
55 55
56 class AmbiguousCommand(Exception): 56 class AmbiguousCommand(Exception):
57 """Exception raised if command shortcut matches more than one command.""" 57 """Exception raised if command shortcut matches more than one command."""
58 58
59 # derived from KeyboardInterrupt to simplify some breakout code
60 class SignalInterrupt(KeyboardInterrupt):
61 """Exception raised on SIGTERM and SIGHUP."""