mirror of
https://github.com/laosb/SwiftTailwind.git
synced 2025-11-28 22:01:38 +00:00
fix: expand triple for bundle info.json too.
This commit is contained in:
parent
b4f1cf9dbd
commit
caa5c6651b
5 changed files with 135 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue