mercurial/error.py
changeset 7643 9a1ea6587557
parent 7641 d2f753830f80
child 7644 182b7114d35a
--- a/mercurial/error.py	Mon Jan 12 11:28:30 2009 -0600
+++ b/mercurial/error.py	Mon Jan 12 11:39:38 2009 -0600
@@ -50,3 +50,9 @@
 class ResponseError(Exception):
     """Raised to print an error with part of output and exit."""
 
+class UnknownCommand(Exception):
+    """Exception raised if command is not in the command table."""
+
+class AmbiguousCommand(Exception):
+    """Exception raised if command shortcut matches more than one command."""
+