17 #include <mongocxx/exception/operation_exception.hpp> 19 #include <mongocxx/config/prelude.hpp> 22 MONGOCXX_INLINE_NAMESPACE_BEGIN
34 MONGOCXX_INLINE_NAMESPACE_END
37 #include <mongocxx/config/postlude.hpp> Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
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 received from a MongoDB server.
Definition: operation_exception.hpp:33
Class representing an exception during a query operation.
Definition: query_exception.hpp:29