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

#include <exception.hh>

Inheritance diagram for paludis::InternalError:

Public Member Functions

 InternalError (const std::string &location, const std::string &message) noexcept
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

Additional Inherited Members

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

Detailed Description

An InternalError is an Exception that is thrown if something that is never supposed to happen happens.

Examples
example_dep_spec.cc.

Constructor & Destructor Documentation

◆ InternalError()

paludis::InternalError::InternalError ( const std::string & location,
const std::string & message )
noexcept

Constructor.

Parameters
locationShould be set to the PALUDIS_HERE macro.
messageA short message.

References paludis::Exception::message().


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