Update README to add how to handle errors