Replace errors with exceptions

This commit is contained in:
Stuckinaboot
2018-10-29 13:13:39 +01:00
parent 2544f8dff5
commit e93ced5f6a
4 changed files with 18 additions and 12 deletions

View File

@ -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