RequireNewerTools
The diagnostic triggered when the package has a newer tools version than the installed tools.
struct RequireNewerTools
The diagnostic triggered when the package has a newer tools version than the installed tools.
struct RequireNewerTools
import PackageModel
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Sendable
init(packageIdentity: PackageIdentity, packageVersion: String? = nil, installedToolsVersion: ToolsVersion, packageToolsVersion: ToolsVersion)
var description: String { get }
let installedToolsVersion: ToolsVersion
The installed tools version.
let packageIdentity: PackageIdentity
The identity of the package.
let packageToolsVersion: ToolsVersion
The tools version of the package.
let packageVersion: String?
The version of the package.
var interpolationDescription: String { get }
var localizedDescription: String { get }
Retrieve the localized description for this error.