pub enum GraphSyncError {
DecodeError(DecodeError),
LightningError(LightningError),
}
Expand description
All-encompassing standard error type that processing can return
Variants§
DecodeError(DecodeError)
Error trying to read the update data, typically due to an erroneous data length indication that is greater than the actual amount of data provided
LightningError(LightningError)
Error applying the patch to the network graph, usually the result of updates that are too old or missing prerequisite data to the application of updates out of order
Trait Implementations§
source§impl Debug for GraphSyncError
impl Debug for GraphSyncError
source§impl From<DecodeError> for GraphSyncError
impl From<DecodeError> for GraphSyncError
source§fn from(error: DecodeError) -> Self
fn from(error: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for GraphSyncError
impl From<Error> for GraphSyncError
source§impl From<LightningError> for GraphSyncError
impl From<LightningError> for GraphSyncError
source§fn from(error: LightningError) -> Self
fn from(error: LightningError) -> Self
Converts to this type from the input type.