17 #include <system_error> 19 #include <mongocxx/config/prelude.hpp> 22 MONGOCXX_INLINE_NAMESPACE_BEGIN
50 MONGOCXX_INLINE_NAMESPACE_END
53 #include <mongocxx/config/postlude.hpp> Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
const std::error_category & server_error_category()
Get the error_category for mongocxx library exceptions.
Definition: error_code.hpp:117
server_error_code
Enum representing the various errors types that can be returned from the server.
Definition: server_error_code.hpp:28
std::error_code make_error_code(error_code error)
Translate a mongocxx::error_code into a std::error_code.
Definition: error_code.hpp:110