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