Exception class for missing TOML keys.
More...
#include <No.hpp>
|
| | NoTOMLKey (const std::string &tomlPath="", const std::string &tomlKey="") |
| | Construct a new NoTOMLKey object.
|
| |
| | ~NoTOMLKey () |
| | Destroy the NoTOMLKey object.
|
| |
| const char * | what () const noexcept |
| | Retrieves the error message.
|
| |
Exception class for missing TOML keys.
Definition at line 77 of file No.hpp.
◆ NoTOMLKey()
| CustomExceptions::NoTOMLKey::NoTOMLKey |
( |
const std::string & | tomlPath = "", |
|
|
const std::string & | tomlKey = "" ) |
Construct a new NoTOMLKey object.
- Parameters
-
| tomlPath | The path to the TOML file. |
| tomlKey | The key that the user tried to access. |
Definition at line 51 of file No.cpp.
◆ ~NoTOMLKey()
| CustomExceptions::NoTOMLKey::~NoTOMLKey |
( |
| ) |
|
◆ what()
| const char * CustomExceptions::NoTOMLKey::what |
( |
| ) |
const |
|
noexcept |
Retrieves the error message.
- Returns
- A C-style string representing the error message.
Definition at line 66 of file No.cpp.
The documentation for this class was generated from the following files: