Enumerationswift-package-manager 6.0.1PackagePlugin
PluginContextError
Errors.swift:13enum PluginContextError
enum PluginContextError
import PackagePlugin
case toolNotFound(name: String)
Could not find a tool with the given name. This could be either because it doesn’t exist, or because the plugin doesn’t have a dependency on it.
case toolNotSupportedOnTargetPlatform(name: String)
Tool is not supported on the target platform
case targetNotFound(name: String, package: Package)
Could not find a target with the given name.
case productNotFound(name: String, package: Package)
Could not find a product with the given name.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Escapable
protocol Sendable
var description: String { get }
var localizedDescription: String { get }
Retrieve the localized description for this error.