Skip to content
Snippets Groups Projects
Commit 05136a3b authored by Antoine Millet's avatar Antoine Millet
Browse files

Added RpcConnectionError exception class.

NoFreeLabelError and FallbackModeEnabledError are now extending this new
class.
parent 057a556d
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,14 @@ class SocketRpcError(Exception):
'''
class NoFreeLabelError(Exception):
class RpcConnectionError(Exception):
'''
Base class for RpcConnection errors.
'''
class NoFreeLabelError(RpcConnectionError):
'''
Exception raised when no more free labels are available for protocol
......@@ -33,7 +40,7 @@ class NoFreeLabelError(Exception):
'''
class FallbackModeEnabledError(Exception):
class FallbackModeEnabledError(RpcConnectionError):
'''
Exception raised when a feature which is not compatible with fallback mode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment