refine error definition
drmingdrmer opened this issue · comments
张炎泼 commented
Create a struct that implements interface error
instead of wrapping struct error
.
pkg/errors
seems like a good choice:
https://github.com/pkg/errors
张炎泼 commented
使用forked pkg/errors: openacid/errors