Add error handling to README