summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-02-01 12:17:31 +0100
committerAndrej Mihajlov <and@mullvad.net>2022-02-02 17:37:00 +0100
commit27851cc3d6a7abfa70afe2314df9949655b2cbc1 (patch)
treefa4f240e25400cd29e1d854965ea972ae3cea3eb
parent6e6854fdc78b47ea78cdc5933093442358eecfdc (diff)
downloadmullvadvpn-27851cc3d6a7abfa70afe2314df9949655b2cbc1.tar.xz
mullvadvpn-27851cc3d6a7abfa70afe2314df9949655b2cbc1.zip
Add period at the end of error case descriptions
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelManagerError.swift40
1 files changed, 20 insertions, 20 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManagerError.swift b/ios/MullvadVPN/TunnelManager/TunnelManagerError.swift
index 96591f9314..e60e3a3dd5 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManagerError.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManagerError.swift
@@ -14,68 +14,68 @@ extension TunnelManager {
/// Account is unset.
case unsetAccount
- /// A failure to start the VPN tunnel via system call
+ /// A failure to start the VPN tunnel via system call.
case startVPNTunnel(Swift.Error)
- /// A failure to load the system VPN configurations created by the app
+ /// A failure to load the system VPN configurations created by the app.
case loadAllVPNConfigurations(Swift.Error)
- /// A failure to save the system VPN configuration
+ /// A failure to save the system VPN configuration.
case saveVPNConfiguration(Swift.Error)
- /// A failure to reload the system VPN configuration
+ /// A failure to reload the system VPN configuration.
case reloadVPNConfiguration(Swift.Error)
- /// A failure to remove the system VPN configuration
+ /// A failure to remove the system VPN configuration.
case removeVPNConfiguration(Swift.Error)
/// A failure to perform a recovery (by removing the VPN configuration) when a corrupt
/// VPN configuration is detected.
case removeInconsistentVPNConfiguration(Swift.Error)
- /// A failure to read tunnel settings
+ /// A failure to read tunnel settings.
case readTunnelSettings(TunnelSettingsManager.Error)
- /// A failure to read relays cache
+ /// A failure to read relays cache.
case readRelays(RelayCache.Error)
- /// A failure to find a relay satisfying the given constraints
+ /// A failure to find a relay satisfying the given constraints.
case cannotSatisfyRelayConstraints
- /// A failure to add the tunnel settings
+ /// A failure to add the tunnel settings.
case addTunnelSettings(TunnelSettingsManager.Error)
- /// A failure to update the tunnel settings
+ /// A failure to update the tunnel settings.
case updateTunnelSettings(TunnelSettingsManager.Error)
- /// A failure to remove the tunnel settings from Keychain
+ /// A failure to remove the tunnel settings from Keychain.
case removeTunnelSettings(TunnelSettingsManager.Error)
- /// A failure to migrate tunnel settings
+ /// A failure to migrate tunnel settings.
case migrateTunnelSettings(TunnelSettingsManager.Error)
- /// Unable to obtain the persistent keychain reference for the tunnel settings
+ /// Unable to obtain the persistent keychain reference for the tunnel settings.
case obtainPersistentKeychainReference(TunnelSettingsManager.Error)
- /// A failure to push the public WireGuard key
+ /// A failure to push the public WireGuard key.
case pushWireguardKey(REST.Error)
- /// A failure to replace the public WireGuard key
+ /// A failure to replace the public WireGuard key.
case replaceWireguardKey(REST.Error)
- /// A failure to remove the public WireGuard key
+ /// A failure to remove the public WireGuard key.
case removeWireguardKey(REST.Error)
- /// A failure to schedule background task
+ /// A failure to schedule background task.
case backgroundTaskScheduler(Swift.Error)
- /// A failure to reload tunnel
+ /// A failure to reload tunnel.
case reloadTunnel(TunnelIPC.Error)
var errorDescription: String? {
switch self {
- case .missingAccount:
- return "Missing account token"
+ case .unsetAccount:
+ return "Account is unset"
case .startVPNTunnel:
return "Failed to start the VPN tunnel"
case .loadAllVPNConfigurations: