switch to Errorf to avoid 'go vet' false positive