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