fix: expand triple for bundle info.json too.

This commit is contained in:
Shibo Lyu 2025-10-05 17:37:39 +08:00
parent b4f1cf9dbd
commit caa5c6651b
5 changed files with 135 additions and 1 deletions

View file

@ -0,0 +1,18 @@
import Foundation
enum ArtifactBundleError: Error, LocalizedError {
case invalidURL(String)
case zipCreationFailed
case checksumComputationFailed
var errorDescription: String? {
switch self {
case .invalidURL(let url):
return "Invalid URL: \(url)"
case .zipCreationFailed:
return "Failed to create ZIP file"
case .checksumComputationFailed:
return "Failed to compute checksum"
}
}
}