mercurial/error.py
changeset 11292 037d910734de
parent 11288 2123aad24d56
child 11574 6381fa7bfa53
equal deleted inserted replaced
11291:543597fae51d 11292:037d910734de
    34     """Raised if a command needs to print an error and exit."""
    34     """Raised if a command needs to print an error and exit."""
    35 
    35 
    36 class ConfigError(Abort):
    36 class ConfigError(Abort):
    37     'Exception raised when parsing config files'
    37     'Exception raised when parsing config files'
    38 
    38 
    39 class ParseError(Abort):
    39 class ParseError(Exception):
    40     'Exception raised when parsing config files (msg[, pos])'
    40     'Exception raised when parsing config files (msg[, pos])'
    41 
    41 
    42 class RepoError(Exception):
    42 class RepoError(Exception):
    43     pass
    43     pass
    44 
    44