Displays the different errors when parsing user config.
More...
#include <Error.hpp>
|
| Error (std::string err) |
| Constructs an Error with a custom error message.
|
|
| Error (std::string_view key, std::string_view err) |
| Constructs an Error with a custom error message.
|
|
Displays the different errors when parsing user config.
◆ Error() [1/2]
util::config::Error::Error |
( |
std::string | err | ) |
|
|
inline |
Constructs an Error with a custom error message.
- Parameters
-
err | the error message to display to users. |
◆ Error() [2/2]
util::config::Error::Error |
( |
std::string_view | key, |
|
|
std::string_view | err ) |
|
inline |
Constructs an Error with a custom error message.
- Parameters
-
key | the key associated with the error. |
err | the error message to display to users. |
The documentation for this struct was generated from the following file: