]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
WireGuardKit: Fix docs for WireGuardAdapterError
authorAndrej Mihajlov <and@mullvad.net>
Thu, 3 Dec 2020 12:19:31 +0000 (13:19 +0100)
committerAndrej Mihajlov <and@mullvad.net>
Thu, 3 Dec 2020 12:22:52 +0000 (13:22 +0100)
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
WireGuardKit/Sources/WireGuardKit/WireGuardAdapter.swift

index 3585e4e5cc9d5f85102d7f49564d5269a2dca510..236629e42d10e694ceaea4f100b64b5f045deb3f 100644 (file)
@@ -9,19 +9,19 @@ public enum WireGuardAdapterError: Error {
     /// Failure to locate tunnel file descriptor.
     case cannotLocateTunnelFileDescriptor
 
-    /// Failure to perform an operation in such state
+    /// Failure to perform an operation in such state.
     case invalidState
 
-    /// Failure to resolve endpoints
+    /// Failure to resolve endpoints.
     case dnsResolution([DNSResolutionError])
 
-    /// Failure to set network settings
+    /// Failure to set network settings.
     case setNetworkSettings(Error)
 
-    /// Timeout when calling to set network settings
+    /// Timeout when calling to set network settings.
     case setNetworkSettingsTimeout
 
-    /// Failure to start WireGuard backend
+    /// Failure to start WireGuard backend.
     case startWireGuardBackend(Int32)
 }