core-exception.h 380 B

12345678910111213141516
  1. #ifndef AFUN_CORE_EXCEPTION_H
  2. #define AFUN_CORE_EXCEPTION_H
  3. #include "iostream"
  4. namespace aFuncore {
  5. class EnvironmentDestructException : public std::exception {
  6. constexpr static const char *message = "Environment Destruct Error";
  7. public:
  8. inline virtual const char *what();
  9. };
  10. }
  11. #include "core-exception.inline.h"
  12. #endif //AFUN_CORE_EXCEPTION_H