diff options
author | dec05eba <dec05eba@protonmail.com> | 2017-12-09 02:43:02 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2017-12-09 02:43:02 +0100 |
commit | d9090882cae78695765204a3e1b60c6a9bf27977 (patch) | |
tree | e3e75fef97df7e02cd715af718ae7c3ffeaee00f /include/Conf.hpp | |
parent | fb2072deb3e50afdb062570a3a80ec1afb5bfb56 (diff) |
Added ninja backend, very simple project works
Diffstat (limited to 'include/Conf.hpp')
-rw-r--r-- | include/Conf.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp index c27046b..8b98189 100644 --- a/include/Conf.hpp +++ b/include/Conf.hpp @@ -6,6 +6,7 @@ #include "utils.hpp" #include <vector> #include <cassert> +#include <stdexcept> namespace sibs { @@ -55,6 +56,15 @@ namespace sibs class Parser; + class ParserException : public std::runtime_error + { + public: + ParserException(const std::string &errMsg) : runtime_error(errMsg) + { + + } + }; + class ConfigCallback { friend class Parser; |