Re:Rust error handling
by surajrmal on Sunday September 15, 2024 @01:17PM
(#41548785)
That's what panics are for. They compile to the same code c++ exceptions would. You can unwrap your results to turn them into exceptions.
[ Parent
| on HN ]
There are no comments on this comment yet.