Re:Dark side of ergonomics in Rust
by bbatha on Saturday April 14, 2018 @10:00AM
(#16837333)
That’s already a property of rust errors. If a function errors you can’t use its return value until you handle the error some way either explicitly, forward it with the ? operator, or unwrap it indicating an unrecoverable error.
[ Parent
| on HN ]