emperror / errors

Drop-in replacement for the standard library errors package and github.com/pkg/errors

Home Page:https://emperror.dev/errors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a marker error

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")