vsphere/resource_vsphere_license.go
func DecodeError(info types.LicenseManagerLicenseInfo) error {
	for _, property := range info.Properties {
		if property.Key == "diagnostic" {
			return errors.New(property.Value.(string))
		}
	}

	return nil
}
func DecodeError(info types.LicenseManagerLicenseInfo) error {
	for _, property := range info.Properties {
		if property.Key == "diagnostic" {
			return errors.New(property.Value.(string))
		}
	}

	return nil
}
func DecodeError ( info types . LicenseManagerLicenseInfo ) error { for _ , property := range info . Properties { if property . Key == " " { return errors . New ( property . Value . ( string ) ) } } return nil }
// DecodeError tries to find a specific error which occurs when an invalid key is passed
// to the server
DecodeError tries to find a specific error which occurs when an invalid key is passed to the server