mercurial/error.py
changeset 34258 61714510220d
parent 32639 6df193b5c437
child 35128 795bfa2a9103
equal deleted inserted replaced
34257:448725a2ef73 34258:61714510220d
   111     """Exception raised when a remote repo reports failure"""
   111     """Exception raised when a remote repo reports failure"""
   112     __bytes__ = _tobytes
   112     __bytes__ = _tobytes
   113 
   113 
   114 class ParseError(Hint, Exception):
   114 class ParseError(Hint, Exception):
   115     """Raised when parsing config files and {rev,file}sets (msg[, pos])"""
   115     """Raised when parsing config files and {rev,file}sets (msg[, pos])"""
       
   116     __bytes__ = _tobytes
       
   117 
       
   118 class PatchError(Exception):
   116     __bytes__ = _tobytes
   119     __bytes__ = _tobytes
   117 
   120 
   118 class UnknownIdentifier(ParseError):
   121 class UnknownIdentifier(ParseError):
   119     """Exception raised when a {rev,file}set references an unknown identifier"""
   122     """Exception raised when a {rev,file}set references an unknown identifier"""
   120 
   123