summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/eip/exceptions.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/leap/eip/exceptions.py b/src/leap/eip/exceptions.py
index 4d0d70e2..467be7fe 100644
--- a/src/leap/eip/exceptions.py
+++ b/src/leap/eip/exceptions.py
@@ -110,15 +110,18 @@ class EIPConfigurationError(EIPClientError):
class NoDefaultInterfaceFoundError(EIPClientError):
- pass
+ message = "no default interface found"
+ usermessage = "Looks like your computer is not connected to the internet"
class InterfaceNotFoundError(EIPClientError):
- pass
+ # XXX should take iface arg on init maybe?
+ message = "interface not found"
class NoConnectionToGateway(EIPClientError):
- pass
+ message = "no connection to gateway"
+ usermessage = "Looks like there are problems with your internet connection"
#