Comment

Comment by andylokandy

`Exn<T>` preserves the outmost error type and `Exn::<T>::as_error()` will give you the error just the way you want.

Traversing though the error tree is the worst case where the structured error has been bubbled up through layers until the one who are able to recover from it.

parent andylokandy 10 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton