backends/sqlite3/error.cpp
Go to the documentation of this file.
1 //
2 // Copyright 2014 SimpliVT Corporation
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 //
7 
8 #define SOCI_SQLITE3_SOURCE
9 #include "soci-sqlite3.h"
10 #include "error.h"
11 #include <cstring>
12 #include <cassert>
13 
14 using namespace soci;
15 
17  std::string const & msg, int result)
18  : soci_error(msg), result_(result)
19 {
20 }
21 
23 {
24  return result_;
25 }
sqlite3_soci_error(std::string const &msg, int result)


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40