// file : odb/sqlite/errors.hxx // author : Boris Kolpackov // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_SQLITE_ERRORS_HXX #define ODB_SQLITE_ERRORS_HXX #include #include #include namespace odb { namespace sqlite { class connection; // Translate SQLite error and throw an appropriate exception. // LIBODB_SQLITE_EXPORT void translate_error (int error, connection&); } } #include #endif // ODB_SQLITE_ERRORS_HXX