py-libp2p/libp2p/exceptions.py

13 lines
207 B
Python
Raw Normal View History

class BaseLibp2pError(Exception):
pass
class ValidationError(BaseLibp2pError):
2019-08-06 12:37:34 +08:00
"""
Raised when something does not pass a validation check.
"""
class ParseError(BaseLibp2pError):
pass