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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: