![]() |
R-Type
2
Doom but in better
|
This is the class in charge of informing the user that the type of the toml key is not the one that was expected. More...
#include <Invalid.hpp>
Public Member Functions | |
InvalidTOMLKeyType (const std::string &tomlPath="", const std::string &tomlKey="", const std::string ¤tType="", const std::string &expectedType="") | |
Construct a new Invalid toml Key Type object. | |
~InvalidTOMLKeyType () | |
Destroy the Invalid toml Key Type object. | |
const char * | what () const noexcept |
Retrieves the error message. | |
This is the class in charge of informing the user that the type of the toml key is not the one that was expected.
Definition at line 737 of file Invalid.hpp.
CustomExceptions::InvalidTOMLKeyType::InvalidTOMLKeyType | ( | const std::string & | tomlPath = "", |
const std::string & | tomlKey = "", | ||
const std::string & | currentType = "", | ||
const std::string & | expectedType = "" ) |
Construct a new Invalid toml Key Type object.
path | The path to the toml file |
key | The key that contains the invalid type. |
type | The type of the key in the configuration file |
expectedType | The type that was expected of the key. |
Definition at line 468 of file Invalid.cpp.
CustomExceptions::InvalidTOMLKeyType::~InvalidTOMLKeyType | ( | ) |
Destroy the Invalid toml Key Type object.
Definition at line 482 of file Invalid.cpp.
|
noexcept |
Retrieves the error message.
Definition at line 484 of file Invalid.cpp.