File indexing completed on 2025-02-23 05:15:19
0001 // 0002 // Copyright (C) 2004-2007 Maciej Sobczak, Stephen Hutton 0003 // Distributed under the Boost Software License, Version 1.0. 0004 // (See accompanying file LICENSE_1_0.txt or copy at 0005 // http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 0008 #ifndef SOCI_ORACLE_ERROR_H_INCLUDED 0009 #define SOCI_ORACLE_ERROR_H_INCLUDED 0010 0011 #include "soci/oracle/soci-oracle.h" 0012 0013 namespace soci 0014 { 0015 0016 namespace details 0017 { 0018 0019 namespace oracle 0020 { 0021 0022 void throw_oracle_soci_error(sword res, OCIError *errhp); 0023 0024 void get_error_details(sword res, OCIError *errhp, 0025 std::string &msg, int &errNum); 0026 0027 } // namespace oracle 0028 0029 } // namespace details 0030 0031 } // namespace soci 0032 0033 #endif