Documented exceptions are incorrect

XMLWordPrintableJSON

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

      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
              Reporter:
              Armin Ball [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: