py-libp2p/libp2p/exceptions.py
2019-10-24 08:41:10 +02:00

11 lines
197 B
Python

class BaseLibp2pError(Exception):
pass
class ValidationError(BaseLibp2pError):
"""Raised when something does not pass a validation check."""
class ParseError(BaseLibp2pError):
pass