17 #include <mongocxx/exception/query_exception-fwd.hpp>
19 #include <mongocxx/exception/operation_exception.hpp>
21 #include <mongocxx/config/prelude.hpp>
39 #include <mongocxx/config/postlude.hpp>
Class representing an exception received from a MongoDB server.
Definition: operation_exception.hpp:35
operation_exception(std::error_code ec, bsoncxx::v_noabi::document::value &&raw_server_error, std::string what_arg="")
Constructs a new operation exception.
Class representing an exception during a query operation.
Definition: query_exception.hpp:31
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19