kona-node-service 0.1.3

An implementation of the OP Stack consensus node service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Contains the error type for the network driver builder.

use kona_p2p::{Discv5BuilderError, GossipDriverBuilderError};

/// An error from the [`crate::NetworkBuilder`].
#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
pub enum NetworkBuilderError {
    /// An error from building the gossip driver.
    #[error(transparent)]
    GossipDriverBuilder(#[from] GossipDriverBuilderError),
    /// An error from building the discv5 driver.
    #[error(transparent)]
    DiscoveryDriverBuilder(#[from] Discv5BuilderError),
}