mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
Add a stub for errors coming from Android
These errors are related to VPN connection errors
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user