very basic version of usql
This commit is contained in:
12
usql/exception.cpp
Normal file
12
usql/exception.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "exception.h"
|
||||
|
||||
namespace usql {
|
||||
|
||||
Exception::Exception(const std::string &msg) {
|
||||
cause = msg;
|
||||
}
|
||||
|
||||
|
||||
const char *Exception::what() const noexcept { return cause.c_str(); }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user