Merge pull request #138 from jellyfin/create-pull-request/patch

[ci] SwiftLint
This commit is contained in:
aiden 3 2021-08-14 12:37:38 -04:00 committed by GitHub
commit 2fe6c9d148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 39 additions and 40 deletions

View File

@ -10,7 +10,6 @@
import Foundation
import JellyfinAPI
/**
The implementation of the network errors here are a temporary measure.
It is very repetitive, messy, and doesn't fulfill the entire specification of "error reporting".
@ -109,7 +108,7 @@ enum NetworkError: Error {
// Not implemented as has not run into one of these errors as time of writing
switch response {
case .error(_, _, _, _):
case .error:
logConstructor.message = logMessage
errorMessage = ErrorMessage(code: 0,
title: "Error",