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

Documented exceptions are incorrect

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 3.0.2
    • 3.0.1
    • Documentation

    Description

      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(...

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: