| 1234567891011121314151617181920212223 |
- #ifndef EAX_EXCEPTION_INCLUDED
- #define EAX_EXCEPTION_INCLUDED
- #include <stdexcept>
- #include <string>
- #include <string_view>
- 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 */
|