WireGuardKit: Fix docs for WireGuardAdapterError

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
Andrej Mihajlov 2020-12-03 13:19:31 +01:00
parent bceb0a827d
commit 4f9f61f7a7
1 changed files with 5 additions and 5 deletions

View File

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