aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-11-10 12:18:18 +0530
committerRoopesh Chander <roop@roopc.net>2018-11-10 16:44:28 +0530
commit95456ec956dbde46240b72c26101561388f53652 (patch)
treee7c421227df2b8531912c21d4644a6a526a30356 /WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
parentNE: Minor refactoring to enable calling startTunnel() with a tunnelConfiguration (diff)
downloadwireguard-apple-95456ec956dbde46240b72c26101561388f53652.tar.xz
wireguard-apple-95456ec956dbde46240b72c26101561388f53652.zip
VPN: There are no DNS errors to handle in the app now
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift b/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
index cbb5b8b..d06f632 100644
--- a/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
+++ b/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
@@ -21,8 +21,6 @@ class ErrorPresenter {
return ("Unable to remove tunnel", "Internal error")
// TunnelActivationError
- case TunnelActivationError.dnsResolutionFailed:
- return ("DNS resolution failure", "One or more endpoint domains could not be resolved")
case TunnelActivationError.tunnelActivationFailed:
return ("Activation failure", "The tunnel could not be activated due to an internal error")
case TunnelActivationError.attemptingActivationWhenAnotherTunnelIsBusy(let otherTunnelStatus):