EventNotSubscribedException.hpp 775 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2021-05-27
  6. * Changed: 2023-02-22
  7. *
  8. * */
  9. #ifndef LS_STD_EVENT_NOT_SUBSCRIBED_EXCEPTION_HPP
  10. #define LS_STD_EVENT_NOT_SUBSCRIBED_EXCEPTION_HPP
  11. #include <ls-std/core/exception/Exception.hpp>
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. #include <string>
  14. namespace ls::std::core
  15. {
  16. class LS_STD_DYNAMIC_GOAL EventNotSubscribedException : public ls::std::core::Exception
  17. {
  18. public:
  19. EventNotSubscribedException();
  20. explicit EventNotSubscribedException(::std::string _message);
  21. ~EventNotSubscribedException() override;
  22. [[nodiscard]] const char *what() const noexcept override;
  23. };
  24. }
  25. #endif