mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
15 lines
282 B
C++
15 lines
282 B
C++
|
#pragma once
|
||
|
#include <exception>
|
||
|
#include <string>
|
||
|
#include "begin_code.h"
|
||
|
class ErrorViewer : public std::exception
|
||
|
{
|
||
|
public:
|
||
|
void fetch();
|
||
|
std::string getError() const;
|
||
|
const char* what() const throw() override;
|
||
|
private:
|
||
|
std::string str;
|
||
|
};
|
||
|
#include "end_code.h"
|