very basic version of usql
This commit is contained in:
19
usql/exception.h
Normal file
19
usql/exception.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user