summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-error.cpp
blob: f1c62e56e3582f9ed84025a90c1c3719c7833012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "sqlite-error.h"
#include <cstring>

SQLite::Error::Error(sqlite3 * db) :
	msg(sqlite3_errmsg(db))
{
}

std::string
SQLite::Error::message() const noexcept
{
	return msg;
}