diff mercurial/error.py @ 7641:d2f753830f80

error: move UnexpectedOutput (now ResponseError)
author Matt Mackall <mpm@selenic.com>
date Mon, 12 Jan 2009 11:28:28 -0600
parents 7197812e8d44
children 9a1ea6587557
line wrap: on
line diff
--- a/mercurial/error.py	Mon Jan 12 11:09:14 2009 -0600
+++ b/mercurial/error.py	Mon Jan 12 11:28:28 2009 -0600
@@ -46,3 +46,7 @@
 
 class LockUnavailable(LockError):
     pass
+
+class ResponseError(Exception):
+    """Raised to print an error with part of output and exit."""
+