pkgcore.package.errors module

exception pkgcore.package.errors.ChksumError(msg, verbosity=None)[source]

Bases: PkgcoreUserException

Generic checksum failure.

exception pkgcore.package.errors.InvalidDependency[source]

Bases: PackageError

Generic bad package dependency.

exception pkgcore.package.errors.InvalidPackageName(name, msg=None)[source]

Bases: PackageError

Package name using unsupported characters or format.

exception pkgcore.package.errors.MetadataException(pkg, attr, error, verbose=None)[source]

Bases: PackageError

Generic package metadata exception.

msg(verbosity=0)[source]

Extract error message from verbose output depending on verbosity level.

exception pkgcore.package.errors.MissingChksum(pkg, filename)[source]

Bases: ChksumError

exception pkgcore.package.errors.PackageError[source]

Bases: ValueError, PkgcoreUserException

Generic package exception.

exception pkgcore.package.errors.ParseChksumError(filename, error, missing=False)[source]

Bases: ChksumError