Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4eac98b

Browse files
committed
localizederror -> error
1 parentae5b3e2 commit4eac98b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Coder Desktop/VPNLib/Downloader.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public protocol Validator: Sendable {
55
func validate(path:URL)asyncthrows
66
}
77

8-
publicenumValidationError:LocalizedError{
8+
publicenumValidationError: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-
enumDownloadError:LocalizedError{
157+
enumDownloadError:Error{
158158
case unexpectedStatusCode(Int)
159159
case invalidResponse
160160

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp