InvalidArgumentError

public struct InvalidArgumentError : BSONErrorProtocol
extension BSONError.InvalidArgumentError: MongoErrorProtocol

An error thrown when the user passes in invalid arguments to a BSON method.