diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:21:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:21:11 +0000 |
commit | cdb4a4e19b096cdbf1356e28287238122fc3599c (patch) | |
tree | c5ed3b2b40e4725bbaaae0710d1cbec21b23f3b0 /src/installer/exceptions.py | |
parent | Initial commit. (diff) | |
download | python-installer-cdb4a4e19b096cdbf1356e28287238122fc3599c.tar.xz python-installer-cdb4a4e19b096cdbf1356e28287238122fc3599c.zip |
Adding upstream version 0.6.0+dfsg1.upstream/0.6.0+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/installer/exceptions.py')
-rw-r--r-- | src/installer/exceptions.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/installer/exceptions.py b/src/installer/exceptions.py new file mode 100644 index 0000000..01f044a --- /dev/null +++ b/src/installer/exceptions.py @@ -0,0 +1,9 @@ +"""Errors raised from this package.""" + + +class InstallerError(Exception): + """All exceptions raised from this package's code.""" + + +class InvalidWheelSource(InstallerError): + """When a wheel source violates a contract, or is not supported.""" |