Displays all of the correct error messages