Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-396

run_command should parse server errors

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.11.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Most other drivers parse server errors out of the generic runCommand helper, but the driver currently purposefully passes them to the user like any other result document. We should stop ignoring the errors and instead parse them into our Error type like we do for all other server responses.

      Currently, there are a few tests that are accidentally ignoring errors as a result of this

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: