paludis Version 3.0.2
The one true package mangler
paludis::AmbiguousPackageNameError Class Reference

#include <environment.hh>

Inheritance diagram for paludis::AmbiguousPackageNameError:

Public Member Functions

const std::string & name () const PALUDIS_ATTRIBUTE((warn_unused_result))
Public Member Functions inherited from paludis::Exception
const std::string & message () const noexcept
std::string backtrace (const std::string &delim) const
bool empty () const
const char * what () const noexcept override

Iterate over possible matches

typedef WrappedForwardIterator< OptionsConstIteratorTag, const std::string > OptionsConstIterator
OptionsConstIterator begin_options () const PALUDIS_ATTRIBUTE((warn_unused_result))
OptionsConstIterator end_options () const PALUDIS_ATTRIBUTE((warn_unused_result))

Basic operations

 AmbiguousPackageNameError (const std::string &name, const std::shared_ptr< const Sequence< std::string > > &) noexcept
 AmbiguousPackageNameError (const AmbiguousPackageNameError &)

Additional Inherited Members

 Exception (const std::string &message) noexcept
 Exception (const Exception &)

Detailed Description

Thrown if a query results in more than one matching package.

Member Function Documentation

◆ name()

const std::string & paludis::AmbiguousPackageNameError::name ( ) const

The name of the package.

References PALUDIS_ATTRIBUTE.


The documentation for this class was generated from the following file: