Add ProviderError.serverCompression mapping

This commit is contained in:
Davide De Rosa 2019-02-25 23:07:17 +01:00
parent 3aadaf0186
commit 06a872c448
2 changed files with 6 additions and 0 deletions

View File

@ -117,6 +117,9 @@ extension TunnelKitProvider {
/// Data encryption/decryption failed.
case encryptionData
/// Server uses compression and this is not supported.
case serverCompression
/// Tunnel timed out.
case timeout

View File

@ -595,6 +595,9 @@ extension TunnelKitProvider {
case .badCredentials:
return .authentication
case .serverCompression:
return .serverCompression
case .failedLinkWrite:
return .linkError