16a4fd33c1
- Move exceptions to exceptions.py - Raise `UpgradeFailure` in upgrader - Refine the try/catch for upgraders in swarm
10 lines
267 B
Python
10 lines
267 B
Python
from libp2p.exceptions import BaseLibp2pError
|
|
|
|
|
|
class MultiselectError(BaseLibp2pError):
|
|
"""Raised when an error occurs in multiselect process"""
|
|
|
|
|
|
class MultiselectClientError(BaseLibp2pError):
|
|
"""Raised when an error occurs in protocol selection process"""
|