You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
563 B
25 lines
563 B
//
|
|
// Created by zhaohe on 19-5-21.
|
|
//
|
|
|
|
#include "zexception.hpp"
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <iostream>
|
|
#include <thread>
|
|
|
|
#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(); }
|