btool
A parser/converter/transpiler for .bib files
GeneratorException.hpp
Go to the documentation of this file.
1 #ifndef BIBPARSER_SRC_GENERATOREXCEPTION_HPP_
2 #define BIBPARSER_SRC_GENERATOREXCEPTION_HPP_
3 
4 #include <boost/filesystem/path.hpp>
5 #include <stdexcept>
6 #include <string>
7 
11 struct GeneratorException : std::runtime_error {
12  std::string message;
13 
14  explicit GeneratorException(std::string message);
15 
16  [[nodiscard]] auto what() const noexcept -> const char * override;
17 };
18 
19 #endif
GeneratorException::message
std::string message
the message to throw
Definition: GeneratorException.hpp:12
GeneratorException
Definition: GeneratorException.hpp:11
GeneratorException::GeneratorException
GeneratorException(std::string message)
Definition: GeneratorException.cpp:17
GeneratorException::what
auto what() const noexcept -> const char *override
Definition: GeneratorException.cpp:8