![]() |
libconfig v2.1.0
Reflection based C++ configuration library
|
Base exception class for all configuration-related errors. More...
#include <exceptions.h>
Public Member Functions | |
| ConfigError (const std::string &what) | |
| Constructs a ConfigError with a specific message. | |
| const char * | what () const noexcept override |
| Returns the error message. | |
Private Attributes | |
| std::string | m_msg |
Base exception class for all configuration-related errors.
Provides a standard way to catch any error originating from the configuration library. Stores a string message describing the error.
|
inlineexplicit |
Constructs a ConfigError with a specific message.
| what | The error message. |
|
inlinenodiscardoverridenoexcept |
Returns the error message.
|
private |