2019-08-21 23:04:59 +08:00
|
|
|
from libp2p.exceptions import BaseLibp2pError
|
|
|
|
|
|
|
|
|
2019-09-15 16:37:37 +08:00
|
|
|
class MultiselectCommunicatorError(BaseLibp2pError):
|
2019-10-24 14:41:10 +08:00
|
|
|
"""Raised when an error occurs during read/write via communicator."""
|
2019-09-15 16:37:37 +08:00
|
|
|
|
|
|
|
|
2019-08-21 23:04:59 +08:00
|
|
|
class MultiselectError(BaseLibp2pError):
|
2019-10-24 14:41:10 +08:00
|
|
|
"""Raised when an error occurs in multiselect process."""
|
2019-08-21 23:04:59 +08:00
|
|
|
|
|
|
|
|
|
|
|
class MultiselectClientError(BaseLibp2pError):
|
2019-10-24 14:41:10 +08:00
|
|
|
"""Raised when an error occurs in protocol selection process."""
|