you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 month ago (1 child)

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.

  • source
  • parent
  • hideshow 2 child comments