We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5b3e2 commit 4eac98bCopy full SHA for 4eac98b
Coder Desktop/VPNLib/Downloader.swift
@@ -5,7 +5,7 @@ public protocol Validator: Sendable {
5
func validate(path: URL) async throws
6
}
7
8
-public enum ValidationError: LocalizedError {
+public enum ValidationError: Error {
9
case fileNotFound
10
case unableToCreateStaticCode
11
case invalidSignature
@@ -154,7 +154,7 @@ func etag(data: Data) -> String {
154
return "\"\(etag)\""
155
156
157
-enum DownloadError: LocalizedError {
+enum DownloadError: Error {
158
case unexpectedStatusCode(Int)
159
case invalidResponse
160
0 commit comments