mercurial/error.py
changeset 26640 b13fdcc4e700
parent 26438 024644b1900b
child 26683 634666c48b7d
--- a/mercurial/error.py	Tue Oct 13 11:43:21 2015 -0700
+++ b/mercurial/error.py	Tue Oct 13 10:57:54 2015 -0700
@@ -201,3 +201,12 @@
     operation which replaces the entire base with new content. This ensures
     the delta may be applied by clones which have not censored the base.
     """
+
+class InvalidBundleSpecification(Exception):
+    """error raised when a bundle specification is invalid.
+
+    This is used for syntax errors as opposed to support errors.
+    """
+
+class UnsupportedBundleSpecification(Exception):
+    """error raised when a bundle specification is not supported."""