Update exception type

This commit is contained in:
Stuckinaboot
2018-10-30 00:03:19 +01:00
parent 95d3847d5a
commit 869d2db847
5 changed files with 20 additions and 10 deletions

View File

@ -10,7 +10,8 @@ class IPeerMetadata(ABC):
"""
:param peer_id: peer ID to lookup key for
:param key: key to look up
:return: value at key for given peer, error
:return: value at key for given peer
:raise Exception: peer ID not found
"""
pass
@ -20,7 +21,7 @@ class IPeerMetadata(ABC):
:param peer_id: peer ID to lookup key for
:param key: key to associate with peer
:param val: value to associated with key
:return: error
:raise Exception: unsuccessful put
"""
pass