MiniEngine/SDLWrapper/ErrorViewer.h
kiritow 1ae05bab71 Remove exception specification
Exception Specification is deprecated in C++11.
2017-07-15 00:12:48 +08:00

15 lines
283 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 noexcept override;
private:
std::string str;
};
#include "end_code.h"