OZO 「お象」
Boost.Asio and libpq based asynchronous PostgreSQL unofficial header-only C++17 client library.
Errors system

Description

Errors system and codes description.

Modules

 error
 OZO related errors.
 
 sqlstate
 SQL state related errors and conditions.
 
 errc
 Useful error conditions.
 

Types

using ozo::error_code = boost::system::error_code
 Error code representation of the library. More...
 
using ozo::system_error = boost::system::system_error
 Error code contaning exception of the library. More...
 
using ozo::error_category = boost::system::error_category
 Error category representation of the library. More...
 
using ozo::error_condition = boost::system::error_condition
 Error condition representation of the library. More...
 

Types

◆ error_category

using ozo::error_category = typedef boost::system::error_category

Error category representation of the library.

See also
error_code, system_error, error_condition

◆ error_code

using ozo::error_code = typedef boost::system::error_code

Error code representation of the library.

In this library the Boost.System's error_code is used. The reason is what it is provided by the Boost.Asio library. So the related definitions look like this:

Note
This may be configurable in the future and std::error_code support may be added.
See also
system_error, error_category, error_condition

◆ error_condition

using ozo::error_condition = typedef boost::system::error_condition

Error condition representation of the library.

See also
error_code, system_error, error_category

◆ system_error

using ozo::system_error = typedef boost::system::system_error

Error code contaning exception of the library.

See also
error_code , error_category, error_condition
ozo::error_code
boost::system::error_code error_code
Error code representation of the library.
Definition: error.h:38
ozo::system_error
boost::system::system_error system_error
Error code contaning exception of the library.
Definition: error.h:45
ozo::error_category
boost::system::error_category error_category
Error category representation of the library.
Definition: error.h:51
ozo::error_condition
boost::system::error_condition error_condition
Error condition representation of the library.
Definition: error.h:57