summaryrefslogtreecommitdiff
path: root/pip/exceptions.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2012-02-16 21:09:00 +0100
committerJannis Leidel <jannis@leidel.info>2012-02-16 21:09:00 +0100
commitee554dd82b8bc6ed9a3cf989b353126580fcc082 (patch)
treeb0604f39ed465673316fe94ffa29046ed868aafc /pip/exceptions.py
parent47f1b2c2b2523469e6107cb2ef325eb61fa8fcf1 (diff)
parent40ac381fad2cc31f75014f02d3e8bf755d933abb (diff)
downloadpip-1.1.tar.gz
Merge branch 'release/1.1'1.1
Diffstat (limited to 'pip/exceptions.py')
-rw-r--r--pip/exceptions.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pip/exceptions.py b/pip/exceptions.py
index 1ad1a616d..22f554a76 100644
--- a/pip/exceptions.py
+++ b/pip/exceptions.py
@@ -13,5 +13,15 @@ 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"""