// Create an array to collect errors that will be output to the user