#ifndef EAX_EXCEPTION_INCLUDED #define EAX_EXCEPTION_INCLUDED #include #include #include class EaxException : public std::runtime_error { static std::string make_message(std::string_view context, std::string_view message); public: EaxException() = delete; EaxException(const EaxException&) = default; EaxException(EaxException&&) = default; EaxException(std::string_view context, std::string_view message); ~EaxException() override; auto operator=(const EaxException&) -> EaxException& = default; auto operator=(EaxException&&) -> EaxException& = default; }; #endif /* EAX_EXCEPTION_INCLUDED */