ExceptionMessage.hpp 793 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-07
  6. * Changed: 2024-09-13
  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. * @doc: class(name: 'ExceptionMessage', package: 'core')
  15. * @doc: core.ExceptionMessage.description('This is the message container being used by these libraries provided exceptions.')
  16. * */
  17. namespace ls::std::core
  18. {
  19. class LS_STD_DYNAMIC_GOAL ExceptionMessage
  20. {
  21. public:
  22. explicit ExceptionMessage(::std::string _message);
  23. ~ExceptionMessage();
  24. char *toCharacterPointer();
  25. private:
  26. ::std::string message{};
  27. };
  28. }
  29. #endif