summaryrefslogtreecommitdiff
path: root/pip/exceptions.py
diff options
context:
space:
mode:
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"""