Hacker News new | ask | show | jobs
by sfvisser 1711 days ago
Nothing wrong with that, although you could use ‘map_err’ instead of ‘or’ to preserve the original errors as well if you want to.