blob: e6e587008e0f9f52c394078cc96053f71dab74fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
"""distutils2.pypi.errors
All errors and exceptions raised by PyPiIndex classes.
"""
from distutils2.errors import DistutilsIndexError
class ProjectNotFound(DistutilsIndexError):
"""Project has not been found"""
class DistributionNotFound(DistutilsIndexError):
"""The release has not been found"""
class ReleaseNotFound(DistutilsIndexError):
"""The release has not been found"""
class CantParseArchiveName(DistutilsIndexError):
"""An archive name can't be parsed to find distribution name and version"""
class DownloadError(DistutilsIndexError):
"""An error has occurs while downloading"""
class HashDoesNotMatch(DownloadError):
"""Compared hashes does not match"""
class UnsupportedHashName(DistutilsIndexError):
"""A unsupported hashname has been used"""
class UnableToDownload(DistutilsIndexError):
"""All mirrors have been tried, without success"""
class InvalidSearchField(DistutilsIndexError):
"""An invalid search field has been used"""
|