Re:Rustaceans at the border
by ragnese on Monday April 18, 2022 @08:09AM
(#31069622)
Fair enough. But that doesn't have to do with the error handling mechanism of Rust, nor would any of these error helper libraries fix that. It's just a criticism of the error type that's actually returned. A Java-style exception can be written that's just as lacking. No language that I'm aware of will automatically include function arguments in its errors/exceptions- it's up to the author of the error/exception type to include that info.
[ Parent
| on HN ]
There are no comments on this comment yet.