relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
Loading...
Searching...
No Matches
relx::pgsql_async_wrapper::PgError Struct Reference

#include <relx/connection/pgsql_async_wrapper.hpp>

Static Public Member Functions

static PgError from_conn (PGconn *conn)
 
static PgError from_result (PGresult *result)
 

Public Attributes

std::string message
 
int error_code = 0
 

Detailed Description

Definition at line 33 of file pgsql_async_wrapper.hpp.

Member Function Documentation

◆ from_conn()

static PgError relx::pgsql_async_wrapper::PgError::from_conn ( PGconn conn)
inlinestatic

Definition at line 37 of file pgsql_async_wrapper.hpp.

◆ from_result()

static PgError relx::pgsql_async_wrapper::PgError::from_result ( PGresult result)
inlinestatic

Definition at line 43 of file pgsql_async_wrapper.hpp.

Member Data Documentation

◆ error_code

int relx::pgsql_async_wrapper::PgError::error_code = 0

Definition at line 35 of file pgsql_async_wrapper.hpp.

◆ message

std::string relx::pgsql_async_wrapper::PgError::message

Definition at line 34 of file pgsql_async_wrapper.hpp.


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