diff options
author | antialias <antialias@leap.se> | 2012-09-10 19:59:30 -0400 |
---|---|---|
committer | antialias <antialias@leap.se> | 2012-09-10 19:59:30 -0400 |
commit | ffe551fdbbade14e1a8de84ac48064aa7b45e2c1 (patch) | |
tree | 0d64cc3cb0005a547f324fb017fa7948cf7b71de /src/leap/eip/exceptions.py | |
parent | 77f4686d43443d08f3b1bb1bb364d24dd127c8ce (diff) |
Implemented basic networks checks: valid interface, default route, and can ping the listed gateway.
Diffstat (limited to 'src/leap/eip/exceptions.py')
-rw-r--r-- | src/leap/eip/exceptions.py | 13 |
1 files changed, 13 insertions, 0 deletions
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. |