Devised some error-notifcation messages