Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-916

Documented exceptions are incorrect

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.0.2
    • Affects Version/s: 3.0.1
    • Component/s: Documentation
    • Labels:

      insert_one() throws a wrong documentated exception!

      mongocxx::write_exception // is thrown

      In Comments of the function:
      /// @throws exception::write if the operation fails.
      // is in the file collection.hpp in the comment line 309

      stdx::optional<result::insert_one> insert_one(...

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            Weltenbummler Armin Ball [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: