Can't construct operation_exception without a server error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.1
    • Component/s: API, Implementation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            J Rassi (Inactive)
            Reporter:
            David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: