comparison mercurial/error.py @ 11287:b901bb751999

error: change ParseError to CommandError
author Matt Mackall <mpm@selenic.com>
date Fri, 04 Jun 2010 20:19:53 -0500
parents 25e572394f5c
children 2123aad24d56
comparison
equal deleted inserted replaced
11286:ccfd1cbc7289 11287:b901bb751999
25 RevlogError.__init__(self, '%s@%s: %s' % (index, name, message)) 25 RevlogError.__init__(self, '%s@%s: %s' % (index, name, message))
26 26
27 def __str__(self): 27 def __str__(self):
28 return RevlogError.__str__(self) 28 return RevlogError.__str__(self)
29 29
30 class ParseError(Exception): 30 class CommandError(Exception):
31 """Exception raised on errors in parsing the command line.""" 31 """Exception raised on errors in parsing the command line."""
32 32
33 class ConfigError(Exception): 33 class ConfigError(Exception):
34 'Exception raised when parsing config files' 34 'Exception raised when parsing config files'
35 35