1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
- #define LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
- #include <exception>
- #include <ls-std/os/dynamic-goal.hpp>
- #include <string>
- namespace ls::std::core
- {
- class LS_STD_DYNAMIC_GOAL IllegalArithmeticOperationException : public ::std::exception
- {
- public:
- IllegalArithmeticOperationException();
- explicit IllegalArithmeticOperationException(::std::string _message);
- ~IllegalArithmeticOperationException() override;
- [[nodiscard]] const char *what() const noexcept override;
- private:
- ::std::string message{};
- };
- }
- #endif
|