// // Created by zhaohe on 19-5-21. // #include "zexception.hpp" #include #include #include #include "spdlog/spdlog.h" using namespace std; using namespace iflytop; using namespace core; zexception::zexception(string description) { m_description = description; m_what += "\n=======================Exception=======================\n"; m_what += "= Description: " + m_description + "\n"; m_what += "="; } zexception::~zexception() {} const char *zexception::what() const _GLIBCXX_USE_NOEXCEPT { return m_what.c_str(); }