File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,8 @@ enum Constants {
31
31
32
32
enum AppError : Error {
33
33
case invalidURL( URL )
34
- // case fetchTimeout(URL)
35
34
case manifestNotFound( URL )
36
35
case networkingError( Error )
37
- // case noData(URL)
38
36
case notFound( URL )
39
37
case outputIdentical
40
38
case packageDumpError( String )
@@ -48,14 +46,10 @@ enum AppError: Error {
48
46
switch self {
49
47
case . invalidURL( let url) :
50
48
return " invalid url: \( url) "
51
- // case .fetchTimeout(let url):
52
- // return "timeout while fetching url: \(url)"
53
49
case . manifestNotFound( let url) :
54
50
return " no package manifest found at url: \( url) "
55
51
case . networkingError( let error) :
56
52
return " networking error: \( error. localizedDescription) "
57
- // case .noData(let url):
58
- // return "no data returned from url: \(url)"
59
53
case . notFound( let url) :
60
54
return " url not found (404): \( url) "
61
55
case . outputIdentical:
You can’t perform that action at this time.
0 commit comments