123456789101112131415161718192021222324252627282930313233 |
- /*
- * 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 <exception>
- #include <string_view>
- 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
|