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

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

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