Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3092

BSON::ObjectId::Invalid does not extend BSON::Error

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      BSON::ObjectId::Invalid shoud extend BSON::Error.

      It should also probably be renamed to something like BSON::Error::InvalidObjectId for consistency.

      Should check BSON library for similarly non-standardized errors.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: