TestException.cpp 592 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Co-Author: Claude Sonnet 4.6 (LLM)
  4. * Company: Lynar Studios
  5. * E-Mail: webmaster@lynarstudios.com
  6. * Created: 2023-05-18
  7. * Changed: 2026-06-23
  8. *
  9. * */
  10. #include "TestException.hpp"
  11. #include <string>
  12. using ls::standard::test::TestException;
  13. using std::string;
  14. using std::string_view;
  15. TestException::TestException(const string_view _message) : message(_message)
  16. {}
  17. TestException::~TestException() noexcept = default;
  18. const char *TestException::what() const noexcept
  19. {
  20. return this->message.data();
  21. }