From 905a473ac37fa5a73eaaedb60aa4aefbcffc7ea4 Mon Sep 17 00:00:00 2001 From: NIC619 Date: Sun, 15 Sep 2019 16:37:37 +0800 Subject: [PATCH] Add `MultiselectCommunicatorError` --- libp2p/protocol_muxer/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libp2p/protocol_muxer/exceptions.py b/libp2p/protocol_muxer/exceptions.py index cf47aca..a34e318 100644 --- a/libp2p/protocol_muxer/exceptions.py +++ b/libp2p/protocol_muxer/exceptions.py @@ -1,6 +1,10 @@ from libp2p.exceptions import BaseLibp2pError +class MultiselectCommunicatorError(BaseLibp2pError): + """Raised when an error occurs during read/write via communicator""" + + class MultiselectError(BaseLibp2pError): """Raised when an error occurs in multiselect process"""