]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
TunnelsManager: Remove mentions of 'internal error'
authorRoopesh Chander <roop@roopc.net>
Thu, 13 Dec 2018 18:23:17 +0000 (23:53 +0530)
committerRoopesh Chander <roop@roopc.net>
Thu, 13 Dec 2018 18:23:17 +0000 (23:53 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/Tunnel/TunnelsManager.swift

index b1cc993a0fdf9ab7f2a37b192db723e80100d2ac..a968419e9f97965dc8fabbd6c22ba8836e5e3ec1 100644 (file)
@@ -34,7 +34,7 @@ enum TunnelsManagerActivationAttemptError: WireGuardAppError {
         case .anotherTunnelIsOperational(let otherTunnelName):
             return ("Activation failure", "Please disconnect '\(otherTunnelName)' before enabling this tunnel.")
         case .failedWhileStarting, .failedWhileSaving, .failedWhileLoading, .failedBecauseOfTooManyErrors:
-            return ("Activation failure", "The tunnel could not be activated due to an internal error")
+            return ("Activation failure", "The tunnel could not be activated.")
         }
     }
 }
@@ -62,13 +62,13 @@ enum TunnelsManagerError: WireGuardAppError {
         case .tunnelAlreadyExistsWithThatName:
             return ("Name already exists", "A tunnel with that name already exists")
         case .systemErrorOnListingTunnels:
-            return ("Unable to list tunnels", "Internal error")
+            return ("Unable to list tunnels", "")
         case .systemErrorOnAddTunnel:
-            return ("Unable to create tunnel", "Internal error")
+            return ("Unable to create tunnel", "")
         case .systemErrorOnModifyTunnel:
-            return ("Unable to modify tunnel", "Internal error")
+            return ("Unable to modify tunnel", "")
         case .systemErrorOnRemoveTunnel:
-            return ("Unable to remove tunnel", "Internal error")
+            return ("Unable to remove tunnel", "")
         }
     }
 }