LogicError

public struct LogicError : BSONErrorProtocol
extension BSONError.LogicError: MongoErrorProtocol

An error thrown when the BSON library is incorrectly used.