1、删除部分三方库
2、整合ylib为一个lib库
This commit is contained in:
23
include/base/error.h
Normal file
23
include/base/error.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
/**
|
||||
* 基础错误类
|
||||
*/
|
||||
|
||||
namespace ylib
|
||||
{
|
||||
class error_base
|
||||
{
|
||||
public:
|
||||
const std::string& last_error();
|
||||
public:
|
||||
std::string m_lastErrorDesc;
|
||||
};
|
||||
|
||||
namespace error{
|
||||
void print(const std::string& value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user