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

@ -35,6 +35,7 @@ class IPeerData(ABC):
"""
:param key: key in KV pair
:param val: val to associate with key
:raise Exception: unsuccesful put
"""
def put_metadata(self, key, val):
pass
@ -42,7 +43,7 @@ class IPeerData(ABC):
"""
:param key: key in KV pair
:return: val for key
:raise Exception: key not found exception
:raise Exception: key not found
"""
def get_metadata(self, key):
pass