Skip to content

Commit 4eac98b

Browse files
committed
localizederror -> error
1 parent ae5b3e2 commit 4eac98b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Coder Desktop/VPNLib/Downloader.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public protocol Validator: Sendable {
55
func validate(path: URL) async throws
66
}
77

8-
public enum ValidationError: LocalizedError {
8+
public enum ValidationError: Error {
99
case fileNotFound
1010
case unableToCreateStaticCode
1111
case invalidSignature
@@ -154,7 +154,7 @@ func etag(data: Data) -> String {
154154
return "\"\(etag)\""
155155
}
156156

157-
enum DownloadError: LocalizedError {
157+
enum DownloadError: Error {
158158
case unexpectedStatusCode(Int)
159159
case invalidResponse
160160

0 commit comments

Comments
 (0)