MCPcopy Create free account
hub / github.com/bcndev/bytecoin / check

Method check

src/platform/DBsqlite3.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace platform;
12
13void sqlite::check(int rc, const char *msg) {
14 if (rc != SQLITE_OK)
15 throw Error((msg ? msg : "") + common::to_string(rc));
16}
17
18void sqlite::Dbi::open_check_create(OpenMode open_mode, const std::string &fp, bool *created) {
19 full_path = fp;

Callers

nothing calls this directly

Calls 2

ErrorClass · 0.70
to_stringFunction · 0.50

Tested by

no test coverage detected