summaryrefslogtreecommitdiff
path: root/src/leap/eip/exceptions.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-05 19:58:05 +0900
committerkali <kali@leap.se>2012-10-05 19:58:05 +0900
commit0afb3c7558f469f2cbe8cea020948c432184a7c0 (patch)
treebc61d2e48d2ac545e1f6a01b39a7ac115cb2158e /src/leap/eip/exceptions.py
parent7a58425cbb090acb3777b602bd3350581f7b30e8 (diff)
parentcdc80a4b84bc68dd179376e8c4cbd7db478ffd32 (diff)
Merge branch 'feature/detect_vpn' into develop
Diffstat (limited to 'src/leap/eip/exceptions.py')
-rw-r--r--src/leap/eip/exceptions.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/eip/exceptions.py b/src/leap/eip/exceptions.py
index f048621f..a6216caa 100644
--- a/src/leap/eip/exceptions.py
+++ b/src/leap/eip/exceptions.py
@@ -93,6 +93,13 @@ class LeapBadConfigFetchedError(Warning):
message = "provider sent a malformed json file"
usermessage = "an error occurred during configuratio of leap services"
+
+class OpenVPNAlreadyRunning(EIPClientError):
+ message = "Another OpenVPN Process is already running."
+ usermessage = ("Another OpenVPN Process has been detected."
+ "Please close it before starting leap-client")
+
+
#
# errors still needing some love
#