usql/exception.h

19 lines
238 B
C++

#pragma once
#include "lexer.h"
#include <string>
namespace usql {
class Exception : public std::exception {
private:
std::string cause;
public:
Exception(const std::string &msg);
const char *what() const noexcept;
};
}