mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 17:18:08 -05:00
13 lines
380 B
Rust
13 lines
380 B
Rust
//! Possible errors when interacting with the network.
|
|
|
|
/// All error variants for the network
|
|
#[derive(Debug, thiserror::Error)]
|
|
pub enum NetworkError {
|
|
/// General IO error.
|
|
#[error(transparent)]
|
|
Io(#[from] std::io::Error),
|
|
/// IO error when creating the discovery service
|
|
#[error("Failed to launch discovery service: {0}")]
|
|
Discovery(std::io::Error),
|
|
}
|