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