diff options
author | crupest <crupest@outlook.com> | 2022-01-08 19:24:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-08 19:24:44 +0800 |
commit | 0c7153db084060034092c1dc24222cae384722ec (patch) | |
tree | 9de1bc4636732e3cc1e1fb7309fdf2ff60683f69 /include/cru/toml/TomlParser.hpp | |
parent | c38f1f7c273e85c0a6d197cb27424c9ca69e234d (diff) | |
download | cru-0c7153db084060034092c1dc24222cae384722ec.tar.gz cru-0c7153db084060034092c1dc24222cae384722ec.tar.bz2 cru-0c7153db084060034092c1dc24222cae384722ec.zip |
...
Diffstat (limited to 'include/cru/toml/TomlParser.hpp')
-rw-r--r-- | include/cru/toml/TomlParser.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/cru/toml/TomlParser.hpp b/include/cru/toml/TomlParser.hpp index b5bcaa0b..52332506 100644 --- a/include/cru/toml/TomlParser.hpp +++ b/include/cru/toml/TomlParser.hpp @@ -1,10 +1,17 @@ #pragma once +#include "cru/common/Exception.hpp" #include "cru/toml/TomlDocument.hpp" #include <optional> namespace cru::toml { +// A very simple and tolerant TOML parser. +class TomlParsingException : public Exception { + public: + using Exception::Exception; +}; + class TomlParser { public: explicit TomlParser(String input); |