libpqxx
pqxx::data_exception Class Reference

Error in data provided to SQL statement. More...

#include <except.hxx>

Inheritance diagram for pqxx::data_exception:

Public Member Functions

 data_exception (const std::string &err, const std::string &Q="", const char sqlstate[]=nullptr)
 
- Public Member Functions inherited from pqxx::sql_error
 sql_error (const std::string &msg="", const std::string &Q="", const char sqlstate[]=nullptr)
 
virtual ~sql_error () noexcept
 
PQXX_PURE const std::string & query () const noexcept
 The query whose execution triggered the exception. More...
 
PQXX_PURE const std::string & sqlstate () const noexcept
 
- Public Member Functions inherited from pqxx::failure
 failure (const std::string &)
 
- Public Member Functions inherited from pqxx::pqxx_exception
virtual ~pqxx_exception () noexcept=0
 Support run-time polymorphism, and keep this class abstract. More...
 

Detailed Description

Error in data provided to SQL statement.

Constructor & Destructor Documentation

◆ data_exception()

pqxx::data_exception::data_exception ( const std::string &  err,
const std::string &  Q = "",
const char  sqlstate[] = nullptr 
)
explicit

The documentation for this class was generated from the following file: