-
Type: Improvement
-
Resolution: Duplicate
-
Priority: 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.
- duplicates
-
RUBY-1806 Create an exception hierarchy
- Closed