class BSON::Error

Base exception class for all BSON-related errors.

@note Many existing exceptions raised by bson-ruby do not derive from

this base class. This will change in the next major version (5.0).