libconfig v2.1.0
Reflection based C++ configuration library
Loading...
Searching...
No Matches
fourdst::config::exceptions::ConfigParseError Class Referencefinal

Thrown when parsing the configuration file fails. More...

#include <exceptions.h>

Inheritance diagram for fourdst::config::exceptions::ConfigParseError:
[legend]
Collaboration diagram for fourdst::config::exceptions::ConfigParseError:
[legend]

Private Member Functions

 ConfigError (const std::string &what)
 Constructs a ConfigError with a specific message.
 

Additional Inherited Members

- Public Member Functions inherited from fourdst::config::exceptions::ConfigError
 ConfigError (const std::string &what)
 Constructs a ConfigError with a specific message.
 
const char * what () const noexcept override
 Returns the error message.
 

Detailed Description

Thrown when parsing the configuration file fails.

This indicates that the file exists but contains invalid TOML syntax or data that does not match the expected schema type.

Member Function Documentation

◆ ConfigError()

fourdst::config::exceptions::ConfigError::ConfigError ( const std::string & what)
inlineexplicitprivate

Constructs a ConfigError with a specific message.

Parameters
whatThe error message.

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