Providing better messages when an error or no results are found