Add ValidationError

This commit is contained in:
NIC619 2019-08-06 12:37:34 +08:00
parent 47643a67c6
commit 9a1e5fe813
No known key found for this signature in database
GPG Key ID: 570C35F5C2D51B17

6
libp2p/exceptions.py Normal file
View File

@ -0,0 +1,6 @@
class ValidationError(Exception):
"""
Raised when something does not pass a validation check.
"""
pass