Update readme file to add error case