zap
zap copied to clipboard
Causer not implemented
Hi,
in the zap-core error docs, you say:
// Finally, if the error implements errorGroup (from go.uber.org/multierr) or // causer (from github.com/pkg/errors), a ${key}Causes field is added with an // array of objects containing the errors this error was comprised of.
However, I couldn't find any of the implementations. We have however a causer interface.
Looks like the behavior was changed in #470 to not include a ${key}Causes
field for the causer
case but the comment wasn't updated.