mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Replace errors with exceptions
This commit is contained in:
@ -41,7 +41,8 @@ class IPeerData(ABC):
|
||||
|
||||
"""
|
||||
:param key: key in KV pair
|
||||
:return: val for key, error (only defined if key not found)
|
||||
:return: val for key
|
||||
:raise Exception: key not found exception
|
||||
"""
|
||||
def get_metadata(self, key):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user