15 lines
279 B
Python
15 lines
279 B
Python
from libp2p.exceptions import BaseLibp2pError
|
|
|
|
|
|
# TODO: Add `BaseLibp2pError` and `UpgradeFailure` can inherit from it?
|
|
class UpgradeFailure(BaseLibp2pError):
|
|
pass
|
|
|
|
|
|
class SecurityUpgradeFailure(UpgradeFailure):
|
|
pass
|
|
|
|
|
|
class MuxerUpgradeFailure(UpgradeFailure):
|
|
pass
|