2019-08-21 15:12:35 +08:00
|
|
|
from libp2p.exceptions import BaseLibp2pError
|
|
|
|
|
|
|
|
|
2019-09-19 21:23:01 +08:00
|
|
|
class OpenConnectionError(BaseLibp2pError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2019-08-21 15:12:35 +08:00
|
|
|
class UpgradeFailure(BaseLibp2pError):
|
2019-08-20 16:42:34 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class SecurityUpgradeFailure(UpgradeFailure):
|
|
|
|
pass
|
2019-08-21 15:12:35 +08:00
|
|
|
|
|
|
|
|
2019-08-21 23:04:59 +08:00
|
|
|
class MuxerUpgradeFailure(UpgradeFailure):
|
|
|
|
pass
|