Skip to main content

GraphError

Type Alias GraphError 

Source
pub type GraphError = Box<dyn Error + 'static>;
Expand description

The cross-language “top” error type — error is unknown (D31).

Node<T> carries a single value generic; the error channel is untyped to avoid a type-combinatorial explosion. The cross-language analogue is Box<dyn Error> / Exception. Single-thread (D22) ⇒ no Send + Sync bound.

Aliased Type§

pub struct GraphError(/* private fields */);