github.com/gophercloud/gophercloud@v1.11.0/openstack/container/v1/capsules/errors.go (about) 1 package capsules 2 3 import ( 4 "fmt" 5 6 "github.com/gophercloud/gophercloud" 7 ) 8 9 type ErrInvalidDataFormat struct { 10 gophercloud.BaseError 11 } 12 13 func (e ErrInvalidDataFormat) Error() string { 14 return fmt.Sprintf("Data in neither json nor yaml format.") 15 }