diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2025-04-09 10:41:49 +0200 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2025-04-09 10:41:49 +0200 |
| commit | 75da013ccc20e5a612a87aa826c4e057da22567a (patch) | |
| tree | c7ceded57a9d31680e40e91ef15123e3b3e984ed /android/lib/daemon-grpc/src | |
| parent | 9a6938a4a32ecc162cc5afcf15fa636de2f9b9fe (diff) | |
| parent | 1272d1bbe4c73529d3c4ca358da5b58a19ebd84d (diff) | |
| download | mullvadvpn-75da013ccc20e5a612a87aa826c4e057da22567a.tar.xz mullvadvpn-75da013ccc20e5a612a87aa826c4e057da22567a.zip | |
Merge branch 'implement-device-ip-version-error-droid-1918'
Diffstat (limited to 'android/lib/daemon-grpc/src')
| -rw-r--r-- | android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/mapper/ToDomain.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/mapper/ToDomain.kt b/android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/mapper/ToDomain.kt index 40ee4d6bcf..10c417cf1c 100644 --- a/android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/mapper/ToDomain.kt +++ b/android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/mapper/ToDomain.kt @@ -302,7 +302,11 @@ internal fun ManagementInterface.ErrorState.GenerationError.toDomain(): Paramete ManagementInterface.ErrorState.GenerationError.NO_WIREGUARD_KEY -> ParameterGenerationError.NoWireguardKey ManagementInterface.ErrorState.GenerationError.CUSTOM_TUNNEL_HOST_RESOLUTION_ERROR -> - ParameterGenerationError.CustomTunnelHostResultionError + ParameterGenerationError.CustomTunnelHostResolutionError + ManagementInterface.ErrorState.GenerationError.NETWORK_IPV4_UNAVAILABLE -> + ParameterGenerationError.Ipv4_Unavailable + ManagementInterface.ErrorState.GenerationError.NETWORK_IPV6_UNAVAILABLE -> + ParameterGenerationError.Ipv6_Unavailable ManagementInterface.ErrorState.GenerationError.UNRECOGNIZED -> throw IllegalArgumentException("Unrecognized parameter generation error") } |
