WireGuardKit: Fix docs for WireGuardAdapterError
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
parent
bceb0a827d
commit
4f9f61f7a7
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue