WrongCallException.hpp 766 B

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