ExceptionMessage.hpp 598 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-07
  6. * Changed: 2023-02-07
  7. *
  8. * */
  9. #ifndef LS_STD_EXCEPTION_MESSAGE_HPP
  10. #define LS_STD_EXCEPTION_MESSAGE_HPP
  11. #include <ls-std/os/dynamic-goal.hpp>
  12. #include <string>
  13. namespace ls::std::core
  14. {
  15. class LS_STD_DYNAMIC_GOAL ExceptionMessage
  16. {
  17. public:
  18. explicit ExceptionMessage(::std::string _message);
  19. ~ExceptionMessage();
  20. char *toCharacterPointer();
  21. private:
  22. ::std::string message{};
  23. };
  24. }
  25. #endif