[create-pull-request] automated change
This commit is contained in:
parent
5a96120722
commit
7532aa564c
|
@ -10,7 +10,6 @@
|
||||||
import Foundation
|
import Foundation
|
||||||
import JellyfinAPI
|
import JellyfinAPI
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The implementation of the network errors here are a temporary measure.
|
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".
|
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
|
// Not implemented as has not run into one of these errors as time of writing
|
||||||
switch response {
|
switch response {
|
||||||
case .error(_, _, _, _):
|
case .error:
|
||||||
logConstructor.message = logMessage
|
logConstructor.message = logMessage
|
||||||
errorMessage = ErrorMessage(code: 0,
|
errorMessage = ErrorMessage(code: 0,
|
||||||
title: "Error",
|
title: "Error",
|
||||||
|
|
Loading…
Reference in New Issue