17 #include <system_error>
19 #include <mongocxx/config/prelude.hpp>
22 MONGOCXX_INLINE_NAMESPACE_BEGIN
49 MONGOCXX_INLINE_NAMESPACE_END
52 #include <mongocxx/config/postlude.hpp>
57 struct is_error_code_enum<
mongocxx::server_error_code> :
public true_type {};
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:22
const std::error_category & server_error_category()
Get the error_category for mongocxx library exceptions.
Definition: error_code.hpp:72
server_error_code
Definition: server_error_code.hpp:27
std::error_code make_error_code(error_code error)
Translate a mongocxx::error_code into a std::error_code.
Definition: error_code.hpp:55