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

options::server_api::version_from_string() throws the wrong type

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 3.7.0, 3.7.0-beta1
    • None
    • None
    • None
    • Minor Change

    Description

      The doxygen documentation for version_from_string() claims to throw a mongocxx::logic_error on invalid argument, but instead throws a std::logic_error.

       

      Note: as part of this change, I recommend investigating version_to_string() as well.

      Attachments

        Activity

          People

            jesse.williamson@mongodb.com Jesse Williamson (Inactive)
            jesse.williamson@mongodb.com Jesse Williamson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: