Fix error copy
This commit is contained in:
parent
6d7a5acfdb
commit
647bdb0d10
|
@ -44,11 +44,11 @@ public enum OnionRequestAPI {
|
|||
public var errorDescription: String? {
|
||||
switch self {
|
||||
case .httpRequestFailedAtDestination(let statusCode, _): return "HTTP request failed at destination with status code: \(statusCode)."
|
||||
case .insufficientSnodes: return "Couldn't find enough snodes to build a path."
|
||||
case .insufficientSnodes: return "Couldn't find enough Service Nodes to build a path."
|
||||
case .invalidURL: return "Invalid URL"
|
||||
case .missingSnodeVersion: return "Missing snode version."
|
||||
case .snodePublicKeySetMissing: return "Missing snode public key set."
|
||||
case .unsupportedSnodeVersion(let version): return "Unsupported snode version: \(version)."
|
||||
case .missingSnodeVersion: return "Missing Service Node version."
|
||||
case .snodePublicKeySetMissing: return "Missing Service Node public key set."
|
||||
case .unsupportedSnodeVersion(let version): return "Unsupported Service Node version: \(version)."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,8 +35,8 @@ public final class SnodeAPI : NSObject {
|
|||
public var errorDescription: String? {
|
||||
switch self {
|
||||
case .generic: return "An error occurred."
|
||||
case .clockOutOfSync: return "Your clock is out of sync with the service node network."
|
||||
case .snodePoolUpdatingFailed: return "Failed to update random service node pool."
|
||||
case .clockOutOfSync: return "Your clock is out of sync with the Service Node network. Please check that your device's clock is set to automatic time."
|
||||
case .snodePoolUpdatingFailed: return "Failed to update the Service Node pool."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue