summaryrefslogtreecommitdiff
path: root/distutils2/errors.py
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-02-13 23:07:59 +0000
committerAlexis Metaireau <alexis@notmyidea.org>2011-02-13 23:07:59 +0000
commitd08c2859eb32dc4278306cb93a25af68467299fc (patch)
tree507755fc1f3d2ac8ef9de311203bd861945a7f9a /distutils2/errors.py
parent0ec26e45aed308dc6ea92361fe6ad7b6aa287e27 (diff)
parentdc5bb384d38de36ad539fe62343f117cfca74df3 (diff)
downloaddisutils2-d08c2859eb32dc4278306cb93a25af68467299fc.tar.gz
Merging the resource branch !
Diffstat (limited to 'distutils2/errors.py')
-rw-r--r--distutils2/errors.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/distutils2/errors.py b/distutils2/errors.py
index 4b006b3..bbf5497 100644
--- a/distutils2/errors.py
+++ b/distutils2/errors.py
@@ -9,7 +9,6 @@ This module is safe to use in "from ... import *" mode; it only exports
symbols whose names start with "Distutils" and end with "Error"."""
-
class DistutilsError(Exception):
"""The root of all Distutils evil."""
@@ -135,3 +134,11 @@ class HugeMajorVersionNumError(IrrationalVersionError):
This guard can be disabled by setting that option False.
"""
pass
+
+
+class InstallationException(Exception):
+ """Base exception for installation scripts"""
+
+
+class InstallationConflict(InstallationException):
+ """Raised when a conflict is detected"""