3 ms·
It's writing all the ParseError, DownloadError, etc that I'm suggesting you might want to avoid in certain cases Unfortunately due to the fundamental design of
by iudqnolq 4y ago
It's writing all the ParseError, DownloadError, etc that I'm suggesting you might want to avoid in certain cases
Unfortunately due to the fundamental design of Rust error handling eyre & anyhow capture backtrace information at the moment their type is created. So the lower down you use it the better error messages you'll get. And "ParseError on line 134 in file foo.rs" can be much more valuable than "FooError on line 5 in file foo.rs: Caused by ParseError".