ExceptionMessage.hpp 661 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-07
  6. * Changed: 2024-05-24
  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. /*
  14. * @class(name: 'ExceptionMessage', package: 'Core')
  15. * */
  16. namespace ls::std::core
  17. {
  18. class LS_STD_DYNAMIC_GOAL ExceptionMessage
  19. {
  20. public:
  21. explicit ExceptionMessage(::std::string _message);
  22. ~ExceptionMessage();
  23. char *toCharacterPointer();
  24. private:
  25. ::std::string message{};
  26. };
  27. }
  28. #endif