17 #include <mongocxx/exception/operation_exception.hpp>
19 #include <mongocxx/config/prelude.hpp>
22 inline namespace v_noabi {
36 #include <mongocxx/config/postlude.hpp>
Class representing an exception received from a MongoDB server.
Definition: operation_exception.hpp:32
operation_exception(std::error_code ec, bsoncxx::document::value &&raw_server_error, std::string what_arg="")
Constructs a new operation exception.
Class representing an exception during a write operation.
Definition: write_exception.hpp:28
The top-level namespace for mongocxx library entities.
Definition: bulk_write.hpp:24