123456789101112131415161718192021222324252627282930 |
- #ifndef LS_STD_EVENT_NOT_SUBSCRIBED_EXCEPTION_HPP
- #define LS_STD_EVENT_NOT_SUBSCRIBED_EXCEPTION_HPP
- #include <exception>
- namespace ls::std::core
- {
- class EventNotSubscribedException : public ::std::exception
- {
- public:
- EventNotSubscribedException() = default;
- [[nodiscard]] const char *what() const noexcept override
- {
- return "EventNotSubscribedException thrown - event was not subscribed!";
- };
- };
- }
- #endif
|