mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-16 02:03:32 +01:00
Replaces ConnectionError.errorDescription with .failureReason
Improves error messages where ConnectionError was the underlying failure, but not the main error.
This commit is contained in:
@@ -32,7 +32,7 @@ enum ConnectionError: LocalizedError
|
|||||||
case connectionFailed
|
case connectionFailed
|
||||||
case connectionDropped
|
case connectionDropped
|
||||||
|
|
||||||
var errorDescription: String? {
|
var failureReason: String? {
|
||||||
switch self
|
switch self
|
||||||
{
|
{
|
||||||
case .serverNotFound: return NSLocalizedString("Could not find AltServer.", comment: "")
|
case .serverNotFound: return NSLocalizedString("Could not find AltServer.", comment: "")
|
||||||
|
|||||||
Reference in New Issue
Block a user