---
title: "PluginContextError.productNotFound(name:package:)"
framework: swift-package-manager
role: symbol
role_heading: Case
path: "swift-package-manager/documentation/packageplugin/plugincontexterror/productnotfound(name:package:)"
---

# PluginContextError.productNotFound(name:package:)

Could not find a product with the given name.

## Declaration

```swift
case productNotFound(name: String, package: Package)
```

## See Also

### Errors from the Plugin Context

- [PluginContextError.targetNotFound(name:package:)](swift-package-manager/documentation/packageplugin/plugincontexterror/targetnotfound(name:package:).md)
- [PluginContextError.toolNotFound(name:)](swift-package-manager/documentation/packageplugin/plugincontexterror/toolnotfound(name:).md)
- [PluginContextError.toolNotSupportedOnTargetPlatform(name:)](swift-package-manager/documentation/packageplugin/plugincontexterror/toolnotsupportedontargetplatform(name:).md)
