Add a marker error
sagikazarmark opened this issue · comments
Márk Sági-Kazár commented
Add an error that allows an error to be marked with a tag/label.
For example:
errors.Mark(err, "clientError")
errors.IsMarked(err, "clientError")
Drop-in replacement for the standard library errors package and github.com/pkg/errors
sagikazarmark opened this issue · comments
Add an error that allows an error to be marked with a tag/label.
For example:
errors.Mark(err, "clientError")
errors.IsMarked(err, "clientError")