Not sure why we ever really had this, no one really ever bounds
anything on `std::Error` and its kinda a dead type, so there's no
need for us to `impl` it for our types.
use core::{cmp, hash, fmt, mem};
use core::ops::Deref;
use core::convert::Infallible;
-#[cfg(feature = "std")]
-use std::error;
#[cfg(not(c_bindings))]
use {
crate::ln::channelmanager::{SimpleArcChannelManager, SimpleRefChannelManager},
}
}
-#[cfg(feature = "std")]
-impl error::Error for PeerHandleError {
- fn description(&self) -> &str {
- "Peer Sent Invalid Data"
- }
-}
-
enum InitSyncTracker{
NoSyncRequested,
ChannelsSyncing(u64),