There is the map_err method on Result which simplifies this case. But yes, anyhow is still easier if you don't care that much about the error contents.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: