diff options
author | hozan23 <hozan23@karyontech.net> | 2024-07-16 08:16:57 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-07-16 08:19:34 +0200 |
commit | cae0c15d10235bf0ec0bd6f8b20814dc7b63dfd5 (patch) | |
tree | a0724e160cdc5c556d132b07639c0225226b761a /p2p/src/error.rs | |
parent | 6795c2a8c8a580575d107f596961e221faad69cf (diff) |
Diffstat (limited to 'p2p/src/error.rs')
-rw-r--r-- | p2p/src/error.rs | 3 |
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, |