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

Consider consolidating BSON error types

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None

      Right now the oid module has its own error type, and it includes cases such as InvalidArgument that may be useful in other places in the bson library. We should consider if its worth defining a top level bson::Error for such cases.

      relevant discussion

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

              Created:
              Updated:
              Resolved: