libpqxx  7.9.0
pqxx::data_exception Struct Reference

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

#include <except.hxx>

Inheritance diagram for pqxx::data_exception:

Public Member Functions

 data_exception (std::string const &err, std::string const &Q="", char const sqlstate[]=nullptr)
 
- Public Member Functions inherited from pqxx::sql_error
 sql_error (std::string whatarg="", std::string const &Q="", char const sqlstate[]=nullptr)
 
virtual ~sql_error () noexcept override
 
PQXX_PURE std::string const & query () const noexcept
 The query whose execution triggered the exception. More...
 
PQXX_PURE std::string const & sqlstate () const noexcept
 SQLSTATE error code if known, or empty string otherwise. More...
 
- Public Member Functions inherited from pqxx::failure
 failure (std::string const &)
 

Detailed Description

Error in data provided to SQL statement.

Constructor & Destructor Documentation

◆ data_exception()

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

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