18 #include <system_error>
20 #include <mongocxx/exception/server_error_code-fwd.hpp>
22 #include <mongocxx/config/prelude.hpp>
58 using ::mongocxx::v_noabi::make_error_code;
59 using ::mongocxx::v_noabi::server_error_category;
63 #include <mongocxx/config/postlude.hpp>
const std::error_category & server_error_category()
Get the error_category for mongocxx library exceptions.
std::error_code make_error_code(error_code error)
Translate a mongocxx::v_noabi::error_code into a std::error_code.
Definition: error_code.hpp:128
server_error_code
Enum representing the various errors types that can be returned from the server.
Definition: server_error_code.hpp:31
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19