I think it would be better for the message to be 'names'. Better yet, a short message explaining that 'names' cannot be None.