pkgcore.fetch.errors module¶
errors fetch subsystem may throw
- exception pkgcore.fetch.errors.ChksumError(msg, verbosity=None)[source]¶
Bases:
FetchError
Generic checksum failure.
- exception pkgcore.fetch.errors.ChksumFailure(filename, *, chksum, expected, value)[source]¶
Bases:
FetchFailed
,ChksumError
Checksum verification failed.
- exception pkgcore.fetch.errors.FetchError(msg, verbosity=None)[source]¶
Bases:
PkgcoreUserException
Generic fetch exception.
- exception pkgcore.fetch.errors.FetchFailed(filename, message, resumable=False)[source]¶
Bases:
FetchError
- exception pkgcore.fetch.errors.MissingChksumHandler(msg, verbosity=None)[source]¶
Bases:
ChksumError
An unknown checksum type tried to be hashed.
- exception pkgcore.fetch.errors.MissingDistfile(filename)[source]¶
Bases:
FetchFailed
- exception pkgcore.fetch.errors.RequiredChksumDataMissing(fetchable, *chksum)[source]¶
Bases:
ChksumError
A required checksum for the target is missing.
- exception pkgcore.fetch.errors.UnmodifiableFile(filename, extra='')[source]¶
Bases:
FetchError