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

Documented exceptions are incorrect

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: Documentation
    • Labels:
    • Story Points:
      1
    • Sprint:
      Perl/CXX 2016-08-19, Perl/CXX 2016-09-09

      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

          Issue Links

            Activity

              People

              Assignee:
              david.golden David Golden
              Reporter:
              Weltenbummler Armin Ball [X] (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: