lxgui
gui_exception.hpp
1 #ifndef LXGUI_GUI_EXCEPTION_HPP
2 #define LXGUI_GUI_EXCEPTION_HPP
3 
4 #include "lxgui/lxgui.hpp"
5 #include "lxgui/utils_exception.hpp"
6 
7 namespace lxgui::gui {
8 
12 class exception : public utils::exception {
13 public:
14  explicit exception(const std::string& message) : utils::exception(message) {}
15 
16  exception(const std::string& class_name, const std::string& message) :
17  utils::exception(class_name, message) {}
18 };
19 
20 } // namespace lxgui::gui
21 
22 #endif
Exception to be thrown by GUI code.
exception(const std::string &message)
exception(const std::string &class_name, const std::string &message)