btool
A parser/converter/transpiler for .bib files
GeneratorException.cpp
Go to the documentation of this file.
1 #include <GeneratorException.hpp>
2 #include <utility>
3 
8 auto GeneratorException::what() const noexcept -> const char * {
9  return message.c_str();
10 }
11 
18  std::string message
19 ) : std::runtime_error{""},
20  message{std::move(message)} {}
GeneratorException::message
std::string message
the message to throw
Definition: GeneratorException.hpp:12
GeneratorException::GeneratorException
GeneratorException(std::string message)
Definition: GeneratorException.cpp:17
GeneratorException::what
auto what() const noexcept -> const char *override
Definition: GeneratorException.cpp:8
GeneratorException.hpp