aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/src/error.rs')
-rw-r--r--p2p/src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/p2p/src/error.rs b/p2p/src/error.rs
index a490b57..cc30aff 100644
--- a/p2p/src/error.rs
+++ b/p2p/src/error.rs
@@ -11,6 +11,9 @@ pub enum Error {
#[error("Unsupported protocol error: {0}")]
UnsupportedProtocol(String),
+ #[error("Unsupported Endpoint: {0}")]
+ UnsupportedEndpoint(String),
+
#[error("PeerID try from PublicKey Error")]
PeerIDTryFromPublicKey,