Files
usql/exception.cpp
VaclavT 6d4fe43a3b fixes and improvements
exceptions related code needs work
2021-07-26 17:50:16 +02:00

13 lines
207 B
C++

#include "exception.h"
namespace usql {
Exception::Exception(const std::string &msg) : std::runtime_error(msg) {
cause = msg;
}
const char *Exception::what() const noexcept { return cause.c_str(); }
}