123456789101112131415161718192021222324252627282930 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2020-08-07
- * Changed: 2022-07-02
- *
- * */
- #ifndef LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
- #define LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
- #include <exception>
- namespace ls::std::core
- {
- class IllegalArithmeticOperationException : public ::std::exception
- {
- public:
- IllegalArithmeticOperationException() = default;
- [[nodiscard]] const char *what() const noexcept override
- {
- return "IllegalArithmeticOperationException thrown - arithmetic operation is not allowed!";
- }
- };
- }
- #endif
|