lighthouse/beacon_node/network/src/error.rs

14 lines
293 B
Rust
Raw Normal View History

// generates error types
2019-03-20 04:09:24 +00:00
use eth2_libp2p;
use error_chain::{
error_chain, error_chain_processing, impl_error_chain_kind, impl_error_chain_processed,
impl_extract_backtrace,
};
2019-03-12 06:28:11 +00:00
error_chain! {
links {
2019-03-20 04:09:24 +00:00
Libp2p(eth2_libp2p::error::Error, eth2_libp2p::error::ErrorKind);
2019-03-12 06:28:11 +00:00
}
}