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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Jesse Williamson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: