#pragma once #include #include namespace MiniEngine { class ErrorViewer : public std::exception { public: void fetch(); std::string getError() const; const char* what() const noexcept override; private: std::string str; }; } /// End of namespace MiniEngine