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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.7.0, 3.7.0-beta1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Minor Change

      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.

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

              Created:
              Updated:
              Resolved: