News for hackers. Stuff that matters.
Re:Announcing Rust 1.13 by masklinn on Friday November 11, 2016 @04:54AM (#12929285)
`?` will convert the original error to the one the caller returns so you can implement the decoration in the conversion if that's suitable, otherwise `Result#map_err` lets you convert an error "at the callsite" (and is a noop if there was no error). Alternatively, you can use error_chain: https://brson.github.io/error-chain/error_chain/index.html.

There are no comments on this comment yet.