TunnelsManager: Remove mentions of 'internal error'
This commit is contained in:
parent
fb2b423d06
commit
65e273c74b
|
@ -34,7 +34,7 @@ enum TunnelsManagerActivationAttemptError: WireGuardAppError {
|
||||||
case .anotherTunnelIsOperational(let otherTunnelName):
|
case .anotherTunnelIsOperational(let otherTunnelName):
|
||||||
return ("Activation failure", "Please disconnect '\(otherTunnelName)' before enabling this tunnel.")
|
return ("Activation failure", "Please disconnect '\(otherTunnelName)' before enabling this tunnel.")
|
||||||
case .failedWhileStarting, .failedWhileSaving, .failedWhileLoading, .failedBecauseOfTooManyErrors:
|
case .failedWhileStarting, .failedWhileSaving, .failedWhileLoading, .failedBecauseOfTooManyErrors:
|
||||||
return ("Activation failure", "The tunnel could not be activated due to an internal error")
|
return ("Activation failure", "The tunnel could not be activated.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,13 +62,13 @@ enum TunnelsManagerError: WireGuardAppError {
|
||||||
case .tunnelAlreadyExistsWithThatName:
|
case .tunnelAlreadyExistsWithThatName:
|
||||||
return ("Name already exists", "A tunnel with that name already exists")
|
return ("Name already exists", "A tunnel with that name already exists")
|
||||||
case .systemErrorOnListingTunnels:
|
case .systemErrorOnListingTunnels:
|
||||||
return ("Unable to list tunnels", "Internal error")
|
return ("Unable to list tunnels", "")
|
||||||
case .systemErrorOnAddTunnel:
|
case .systemErrorOnAddTunnel:
|
||||||
return ("Unable to create tunnel", "Internal error")
|
return ("Unable to create tunnel", "")
|
||||||
case .systemErrorOnModifyTunnel:
|
case .systemErrorOnModifyTunnel:
|
||||||
return ("Unable to modify tunnel", "Internal error")
|
return ("Unable to modify tunnel", "")
|
||||||
case .systemErrorOnRemoveTunnel:
|
case .systemErrorOnRemoveTunnel:
|
||||||
return ("Unable to remove tunnel", "Internal error")
|
return ("Unable to remove tunnel", "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue