Useful error conditions.
Enumerations | |
enum | ozo::errc::code |
Error conditions of the library. More... | |
Functions | |
const error_category & | ozo::errc::category () noexcept |
Error conditions category. More... | |
enum ozo::errc::code |
Error conditions of the library.
This useful error conditions incorporate ozo, libpq and Boost.Asio error codes.
type_mismatch
for custom types may occur in case of database schema update which may lead to custom type oid change. For built-in types it signals about mismatching.
|
noexcept |
Error conditions category.
Error conditions category object is used to construct error_code.
const error_category&
— reference to the category object Referenced by ozo::error::category(), and ozo::sqlstate::category().