Mercurial > public > mercurial-scm > hg
comparison mercurial/error.py @ 7643:9a1ea6587557
error: move UnknownCommand and AmbiguousCommand
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 Jan 2009 11:39:38 -0600 |
parents | d2f753830f80 |
children | 182b7114d35a |
comparison
equal
deleted
inserted
replaced
7642:84346894def8 | 7643:9a1ea6587557 |
---|---|
48 pass | 48 pass |
49 | 49 |
50 class ResponseError(Exception): | 50 class ResponseError(Exception): |
51 """Raised to print an error with part of output and exit.""" | 51 """Raised to print an error with part of output and exit.""" |
52 | 52 |
53 class UnknownCommand(Exception): | |
54 """Exception raised if command is not in the command table.""" | |
55 | |
56 class AmbiguousCommand(Exception): | |
57 """Exception raised if command shortcut matches more than one command.""" | |
58 |