pg_async
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
tip::db::pg::error::db_error Class Reference

Base class for exceptions generated by the library. More...

#include <error.hpp>

Inheritance diagram for tip::db::pg::error::db_error:
Inheritance graph
[legend]
Collaboration diagram for tip::db::pg::error::db_error:
Collaboration graph
[legend]

Public Member Functions

 db_error (std::string const &what_arg)
 
 db_error (char const *what_arg)
 
 db_error (std::string const &message, std::string severity, std::string code, std::string detail)
 

Public Attributes

std::string severity
 
std::string code
 
std::string detail
 
sqlstate::code sqlstate
 

Detailed Description

Base class for exceptions generated by the library.

Definition at line 22 of file error.hpp.

Constructor & Destructor Documentation

tip::db::pg::error::db_error::db_error ( std::string const &  what_arg)
explicit
tip::db::pg::error::db_error::db_error ( char const *  what_arg)
explicit
tip::db::pg::error::db_error::db_error ( std::string const &  message,
std::string  severity,
std::string  code,
std::string  detail 
)

Member Data Documentation

std::string tip::db::pg::error::db_error::code

Definition at line 31 of file error.hpp.

std::string tip::db::pg::error::db_error::detail

Definition at line 32 of file error.hpp.

std::string tip::db::pg::error::db_error::severity

Definition at line 30 of file error.hpp.

sqlstate::code tip::db::pg::error::db_error::sqlstate

Definition at line 33 of file error.hpp.


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