PackageCollectionError
API.swift:372enum PackageCollectionError
Cases
case trustConfirmationRequired
Package collection is not signed and there is no record of user’s trust selection
case untrusted
Package collection is not signed and user explicitly marks it untrusted
case cannotVerifySignature
There are no trusted root certificates. Signature check cannot be done in this case since it involves validating the certificate chain that is used for signing and one requirement is that the root certificate must be trusted.
case invalidSignature
case missingSignature
case unsupportedPlatform
Citizens in PackageCollections
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Error
A type representing an error value that can be thrown.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
Instance features
var interpolationDescription: String
var localizedDescription: String
Retrieve the localized description for this error.