// PollCheckForExistence waits for a successful response, continues polling on 404,
// and returns any other error.
PollCheckForExistence waits for a successful response, continues polling on 404,
and returns any other error.
// PollCheckForExistence waits for a successful response continues polling on 404 // and returns any other error .
func PollCheckForExistence(_ map[string]interface{}, respErr error) PollResult {
	if respErr != nil {
		if isGoogleApiErrorWithCode(respErr, 404) {
			return PendingStatusPollResult("not found")
		}
		return ErrorPollResult(respErr)
	}
	return SuccessPollResult()
}
func PollCheckForExistence ( _ map [ string ] interface { } , respErr error ) PollResult { if respErr != nil { if isGoogleApiErrorWithCode ( respErr , 404 ) { return PendingStatusPollResult ( " " ) } return ErrorPollResult ( respErr ) } return SuccessPollResult ( ) }
PollCheckForExistence waits for a successful response, continues polling on 404,
and returns any other error.
PollCheckForExistence waits for a successful response continues polling on 404 and returns any other error .