18#include <system_error>
20#include <mongocxx/config/prelude.hpp>
23inline namespace v_noabi {
53#include <mongocxx/config/postlude.hpp>
58struct is_error_code_enum<
mongocxx::server_error_code> :
public true_type {};
std::error_code make_error_code(error_code error)
Translate a mongocxx::error_code into a std::error_code.
Definition error_code.hpp:119
server_error_code
Enum representing the various errors types that can be returned from the server.
Definition server_error_code.hpp:28
const std::error_category & server_error_category()
Get the error_category for mongocxx library exceptions.
The top-level namespace for mongocxx library entities.
Definition bulk_write.hpp:24