l.a.e.NameLookupFailed(NotFoundError) : class documentation

Part of lp.app.errors View In Hierarchy

Known subclasses: lp.buildmaster.interfaces.processor.ProcessorNotFound, lp.code.errors.NoSuchBranch, lp.code.errors.NoSuchGitRepository, lp.registry.errors.NoSuchDistroSeries, lp.registry.errors.NoSuchSourcePackageName, lp.registry.interfaces.distribution.NoSuchDistribution, lp.registry.interfaces.person.NoSuchPerson, lp.registry.interfaces.product.NoSuchProduct, lp.registry.interfaces.productseries.NoSuchProductSeries, lp.snappy.interfaces.snap.NoSuchSnap, lp.snappy.interfaces.snapbase.NoSuchSnapBase, lp.snappy.interfaces.snappyseries.NoSuchSnappySeries, lp.soyuz.interfaces.archive.PriorityNotFound, lp.soyuz.interfaces.archive.SectionNotFound, lp.soyuz.interfaces.distroarchseriesfilter.NoSuchDistroArchSeriesFilter, lp.soyuz.interfaces.livefs.NoSuchLiveFS, lp.soyuz.interfaces.webservice.ComponentNotFound, lp.soyuz.interfaces.webservice.NoSuchPackageSet, lp.soyuz.interfaces.webservice.NoSuchPPA, lp.soyuz.interfaces.webservice.PocketNotFound

Raised when a lookup by name fails.

Subclasses should define the _message_prefix class variable, which will be prefixed to the quoted name of the name that could not be found.

Instance VariablesnameThe name that could not be found.
Method __init__ Undocumented
Method __str__ Undocumented
def __init__(self, name, message=None):
Undocumented
def __str__(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.