github.com/gophercloud/gophercloud@v1.11.0/openstack/identity/v3/roles/errors.go (about) 1 package roles 2 3 import "fmt" 4 5 // InvalidListFilter is returned by the ToUserListQuery method when validation of 6 // a filter does not pass 7 type InvalidListFilter struct { 8 FilterName string 9 } 10 11 func (e InvalidListFilter) Error() string { 12 s := fmt.Sprintf( 13 "Invalid filter name [%s]: it must be in format of NAME__COMPARATOR", 14 e.FilterName, 15 ) 16 return s 17 }