libpqxx 4.0
pqxx::syntax_error Class Reference

#include <except.hxx>

Inheritance diagram for pqxx::syntax_error:

List of all members.

Public Member Functions

 syntax_error (const std::string &err, int pos=-1)
 syntax_error (const std::string &err, const std::string &Q, int pos=-1)

Public Attributes

const int error_position
 Approximate position in string where error occurred, or -1 if unknown.

Constructor & Destructor Documentation

pqxx::syntax_error::syntax_error ( const std::string &  err,
int  pos = -1 
) [explicit]
pqxx::syntax_error::syntax_error ( const std::string &  err,
const std::string &  Q,
int  pos = -1 
)

Member Data Documentation

Approximate position in string where error occurred, or -1 if unknown.


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