Signed-off-by: Roopesh Chander <roop@roopc.net>
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):
}
enum TunnelActivationError: Error {
- case dnsResolutionFailed
case tunnelActivationFailed
case attemptingActivationWhenAnotherTunnelIsBusy(otherTunnelStatus: TunnelStatus)
case attemptingActivationWhenTunnelIsNotInactive