#pragma once #include #include class Exception : public std::exception { public: Exception(const char * fmt, ...); const char * what(); protected: Exception() = default; std::unique_ptr error; };