Document testing for errors.