Skip to content

Commit 4ae807c

Browse files
committed
Cleanup
1 parent d2e214a commit 4ae807c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

validate.swift

-6
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ enum Constants {
3131

3232
enum AppError: Error {
3333
case invalidURL(URL)
34-
// case fetchTimeout(URL)
3534
case manifestNotFound(URL)
3635
case networkingError(Error)
37-
// case noData(URL)
3836
case notFound(URL)
3937
case outputIdentical
4038
case packageDumpError(String)
@@ -48,14 +46,10 @@ enum AppError: Error {
4846
switch self {
4947
case .invalidURL(let url):
5048
return "invalid url: \(url)"
51-
// case .fetchTimeout(let url):
52-
// return "timeout while fetching url: \(url)"
5349
case .manifestNotFound(let url):
5450
return "no package manifest found at url: \(url)"
5551
case .networkingError(let error):
5652
return "networking error: \(error.localizedDescription)"
57-
// case .noData(let url):
58-
// return "no data returned from url: \(url)"
5953
case .notFound(let url):
6054
return "url not found (404): \(url)"
6155
case .outputIdentical:

0 commit comments

Comments
 (0)