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

Can't construct operation_exception without a server error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.1
    • API, Implementation
    • None

    Description

      As mentioned in a comment in CXX-986:
      > In addition, I think the implementation of operation_exception is incomplete; _raw_server_error is stdx::optional<bsoncxx::document::value>, but there is no way to construct operation_exception without a valid bsoncxx::document::value.

      Attachments

        Activity

          People

            rassi J Rassi
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: