getErrorString(String profileName)
2 min
Get the error string for the last API call or for the VPN failure.
Syntax:
String getErrorString(String profileName)
Parameters:
The profileName is the name of the profile.
Returns:
public static final String ERR_PROFILE_NAME_EMPTY = "Profile name is empty";
public static final String ERR_PROFILE_NOT_FOUND = "VPN profile not found";
public static final String ERR_DATABASE_EXCEPTION = "Exception accessing profile DB";
public static final String ERR_NO_ERROR = "No Error";
public static final String ERR_NO_NETWORK = "There is no network connectivity to perform the requested action";
public static final String ERR_NO_ACTIVE_VPN_SESSION = "An active VPN session with the profile name does not exist";
public static final String ERR_DELETE_PROFILE_FAILED = "Failed to delete the profile from DB";