Add a stub for errors coming from Android

These errors are related to VPN connection errors
This commit is contained in:
albexk 2023-12-22 15:35:24 +03:00
parent 375825125f
commit eafac491d8
4 changed files with 11 additions and 3 deletions

View file

@ -193,6 +193,10 @@ void VpnConnection::flushDns()
ErrorCode VpnConnection::lastError() const
{
#ifdef Q_OS_ANDROID
return ErrorCode::AndroidError;
#endif
if (!m_vpnProtocol.data()) {
return ErrorCode::InternalError;
}