ExceptionMessage.hpp 841 B

123456789101112131415161718192021222324252627282930313233343536373839
  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-02-07
  7. * Changed: 2026-06-23
  8. *
  9. * */
  10. #ifndef LS_STD_EXCEPTION_MESSAGE_HPP
  11. #define LS_STD_EXCEPTION_MESSAGE_HPP
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. #include <string>
  14. /*
  15. * @doc: class(name: 'ExceptionMessage', package: 'core')
  16. * @doc: core.ExceptionMessage.description('This is the message container being used by these libraries provided exceptions.')
  17. * */
  18. namespace ls::standard::core
  19. {
  20. class LS_STD_DYNAMIC_GOAL ExceptionMessage
  21. {
  22. public:
  23. explicit ExceptionMessage(::std::string _message);
  24. ~ExceptionMessage();
  25. char *toCharacterPointer();
  26. private:
  27. ::std::string message{};
  28. };
  29. }
  30. #endif