summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/exceptions.py
diff options
context:
space:
mode:
authorttt2017-05-13 00:29:47 +0530
committerttt2017-05-13 00:29:47 +0530
commit4336f5f06f61de30ae3fa54650fce63a9d5ef5be (patch)
tree23b4ee9b8e8f24bf732acf2f7ad22ed50cdd5670 /lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/exceptions.py
downloadSBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.gz
SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.bz2
SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.zip
added all server files
Diffstat (limited to 'lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/exceptions.py')
-rw-r--r--lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/exceptions.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/exceptions.py b/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/exceptions.py
new file mode 100644
index 0000000..22f554a
--- /dev/null
+++ b/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/exceptions.py
@@ -0,0 +1,27 @@
+"""Exceptions used throughout package"""
+
+
+class InstallationError(Exception):
+ """General exception during installation"""
+
+
+class UninstallationError(Exception):
+ """General exception during uninstallation"""
+
+
+class DistributionNotFound(InstallationError):
+ """Raised when a distribution cannot be found to satisfy a requirement"""
+
+
+class BestVersionAlreadyInstalled(Exception):
+ """Raised when the most up-to-date version of a package is already
+ installed.
+ """
+
+
+class BadCommand(Exception):
+ """Raised when virtualenv or a command is not found"""
+
+
+class CommandError(Exception):
+ """Raised when there is an error in command-line arguments"""