Struct lightning_block_sync::BlockSourceError [−][src]
pub struct BlockSourceError { /* fields omitted */ }
Expand description
Error type for BlockSource
requests.
Transient errors may be resolved when re-polling, but no attempt will be made to re-poll on persistent errors.
Implementations
Creates a new persistent error originated from the given error.
Creates a new transient error originated from the given error.
Returns the kind of error.