aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 03:41:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 03:42:01 +0100
commit0b2d91a7f47f6dbb2ce6f3f9b63534837d0daa97 (patch)
treefbc5b14bb9977c33bbe31a1a436cbc44d40e7b5a /WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift
parentRTL support (diff)
downloadwireguard-apple-0b2d91a7f47f6dbb2ce6f3f9b63534837d0daa97.tar.xz
wireguard-apple-0b2d91a7f47f6dbb2ce6f3f9b63534837d0daa97.zip
Localize remaining strings in network extension
Diffstat (limited to 'WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift')
-rw-r--r--WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift8
1 files changed, 8 insertions, 0 deletions
diff --git a/WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift b/WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift
index 98634fd..d2179e0 100644
--- a/WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift
+++ b/WireGuard/Shared/Model/NETunnelProviderProtocol+Extension.swift
@@ -3,6 +3,14 @@
import NetworkExtension
+enum PacketTunnelProviderError: String, Error {
+ case savedProtocolConfigurationIsInvalid
+ case dnsResolutionFailure
+ case couldNotStartBackend
+ case couldNotDetermineFileDescriptor
+ case couldNotSetNetworkSettings
+}
+
extension NETunnelProviderProtocol {
enum Keys: String {