From ffe551fdbbade14e1a8de84ac48064aa7b45e2c1 Mon Sep 17 00:00:00 2001 From: antialias Date: Mon, 10 Sep 2012 19:59:30 -0400 Subject: Implemented basic networks checks: valid interface, default route, and can ping the listed gateway. --- src/leap/eip/exceptions.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/leap/eip/exceptions.py') diff --git a/src/leap/eip/exceptions.py b/src/leap/eip/exceptions.py index 3c8f6afb..4d0d70e2 100644 --- a/src/leap/eip/exceptions.py +++ b/src/leap/eip/exceptions.py @@ -108,6 +108,19 @@ class EIPInitBadProviderError(EIPClientError): class EIPConfigurationError(EIPClientError): pass + +class NoDefaultInterfaceFoundError(EIPClientError): + pass + + +class InterfaceNotFoundError(EIPClientError): + pass + + +class NoConnectionToGateway(EIPClientError): + pass + + # # Errors that probably we don't need anymore # chase down for them and check. -- cgit v1.2.3