From 9a1e5fe813d4465bece409026a0058a4522bef23 Mon Sep 17 00:00:00 2001 From: NIC619 Date: Tue, 6 Aug 2019 12:37:34 +0800 Subject: [PATCH] Add `ValidationError` --- libp2p/exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 libp2p/exceptions.py diff --git a/libp2p/exceptions.py b/libp2p/exceptions.py new file mode 100644 index 00000000..8d8af447 --- /dev/null +++ b/libp2p/exceptions.py @@ -0,0 +1,6 @@ +class ValidationError(Exception): + """ + Raised when something does not pass a validation check. + """ + + pass