also adds MultiError to libp2p/exceptions.py

and an additional fixme I have noticed
This commit is contained in:
Jonathan de Jong
2019-12-17 12:00:11 +01:00
parent ef31f7f6d6
commit 3cbe24caab
2 changed files with 46 additions and 4 deletions

View File

@ -8,3 +8,9 @@ class ValidationError(BaseLibp2pError):
class ParseError(BaseLibp2pError):
pass
class MultiError(BaseLibp2pError):
"""Raised with multiple exceptions."""
# todo: find some way for this to fancy-print all encapsulated errors