Commit 05136a3b authored by Antoine Millet's avatar Antoine Millet

Added RpcConnectionError exception class.

NoFreeLabelError and FallbackModeEnabledError are now extending this new
parent 057a556d
......@@ -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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment