Creating a new error message for the empty location case.