Error handling in guess.