mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
we migrate custom errors to DnetViewError and DnetViewResult.
there is one outstanding problem:
terminal.draw(|f| match view.render(f) {
Ok(()) => {}
Err(e) => {
debug!("{}", e);
}
})?;
errors that may occur inside of View are currently being propagated into
this anonymous closure, where they cannot be properly handled.