zap icon indicating copy to clipboard operation
zap copied to clipboard

Causer not implemented

Open DAddYE opened this issue 6 years ago • 1 comments

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.

DAddYE avatar Jan 16 '19 02:01 DAddYE

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.

abhinav avatar Jan 16 '19 03:01 abhinav