github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/networking/v2/extensions/fwaas/firewalls/errors.go (about) 1 package firewalls 2 3 import "fmt" 4 5 func err(str string) error { 6 return fmt.Errorf("%s", str) 7 } 8 9 var ( 10 errPolicyRequired = err("A policy ID is required") 11 )