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

#include <config_file.hh>

Inheritance diagram for paludis::ConfigFileError:

Basic operations

 ConfigFileError (const std::string &filename, const std::string &message) noexcept
 ConfigFileError (const std::string &message) noexcept

Additional Inherited Members

Public Member Functions inherited from paludis::ConfigurationError
 ConfigurationError (const std::string &msg) 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
 Exception (const std::string &message) noexcept
 Exception (const Exception &)

Detailed Description

Raised if an error is encountered parsing a configuration file.

Constructor & Destructor Documentation

◆ ConfigFileError() [1/2]

paludis::ConfigFileError::ConfigFileError ( const std::string & filename,
const std::string & message )
noexcept

Constructor, where the filename is known.

Parameters
filenameThe filename in which the error occurred. May be a blank string, if the filename is not necessarily known.
messageA description of the error.

References paludis::Exception::message().

◆ ConfigFileError() [2/2]

paludis::ConfigFileError::ConfigFileError ( const std::string & message)
noexcept

Constructor, where the filename is not known.

Parameters
messageA description of the error.

References paludis::Exception::message().


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