blob: 3bbced217473b98fd03e1c78c12f6c57ba9d4802 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <exception>
#include <memory>
class Exception : public std::exception {
public:
Exception(const char * fmt, ...);
const char * what();
protected:
Exception() = default;
std::unique_ptr<char> error;
};
|