Y
Hacker News
new
|
ask
|
show
|
jobs
by
kancer
3327 days ago
You may be interested in something like
https://github.com/tailhook/quick-error
. It lets you easily implement From traits for errors so that you can convert between error types.