Enum fork_tree::Error [−][src]
pub enum Error<E> { Duplicate, UnfinalizedAncestor, Revert, Client(E), }
Expand description
Error occurred when iterating with the tree.
Variants
Adding duplicate node to tree.
Finalizing descendent of tree node without finalizing ancestor(s).
Imported or finalized node that is an ancestor of previously finalized node.
Error throw by client when checking for node ancestry.
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl<E> RefUnwindSafe for Error<E> where
E: RefUnwindSafe,
impl<E> UnwindSafe for Error<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more