LogicError

public struct LogicError : BSONErrorProtocol

An error thrown when the BSON library is incorrectly used.