comparison mercurial/error.py @ 24040:7f375d2de945

error: update docstring on ParseError It's now used by revsets and filesets.
author Augie Fackler <augie@google.com>
date Mon, 26 Jan 2015 14:30:12 -0500
parents 10d02cd18604
children a450e0a2ba0a
comparison
equal deleted inserted replaced
24039:2ee35b6ee4fb 24040:7f375d2de945
61 61
62 class OutOfBandError(Exception): 62 class OutOfBandError(Exception):
63 """Exception raised when a remote repo reports failure""" 63 """Exception raised when a remote repo reports failure"""
64 64
65 class ParseError(Exception): 65 class ParseError(Exception):
66 """Exception raised when parsing config files (msg[, pos])""" 66 """Raised when parsing config files and {rev,file}sets (msg[, pos])"""
67 67
68 class RepoError(Exception): 68 class RepoError(Exception):
69 def __init__(self, *args, **kw): 69 def __init__(self, *args, **kw):
70 Exception.__init__(self, *args) 70 Exception.__init__(self, *args)
71 self.hint = kw.get('hint') 71 self.hint = kw.get('hint')