#include <exception.hh>
|
| | NameError (const std::string &name, const std::string &role) noexcept |
| | NameError (const std::string &name, const std::string &role, const std::string &msg) noexcept |
|
| Exception (const std::string &message) noexcept |
|
| Exception (const Exception &) |
|
| const std::string & | message () const noexcept |
| std::string | backtrace (const std::string &delim) const |
| bool | empty () const |
| const char * | what () const noexcept override |
A NameError is an Exception that is thrown when some kind of invalid name is encountered.
- Examples
- example_name.cc.
◆ NameError() [1/2]
| paludis::NameError::NameError |
( |
const std::string & | name, |
|
|
const std::string & | role ) |
|
protectednoexcept |
Constructor.
- Parameters
-
| name | The invalid name encountered. |
| role | The role for the name, for example "package name". |
◆ NameError() [2/2]
| paludis::NameError::NameError |
( |
const std::string & | name, |
|
|
const std::string & | role, |
|
|
const std::string & | msg ) |
|
protectednoexcept |
Constructor.
- Parameters
-
| name | The invalid name encountered. |
| role | The role for the name, for example "package name". |
| msg | Any extra message. |
The documentation for this class was generated from the following file:
- /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/util/exception.hh