/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-05-18 * Changed: 2023-05-18 * * */ #ifndef LS_STD_TEST_EXCEPTION_HPP #define LS_STD_TEST_EXCEPTION_HPP #include #include namespace ls::std::test { class TestException : public ::std::exception { public: explicit TestException(::std::string_view _message); ~TestException() noexcept override; [[nodiscard]] const char *what() const noexcept override; private: ::std::string_view message{}; }; } #endif