Error wrapper for go.uber.org/zap
err = zaperr.Wrap(err, "failed to execute something",
zap.Int("foo", 1),
zap.String("bar", "baz"),
)
logger.Info("example", zaperr.ToField(err))
// Output:
// {"level":"info","msg":"example","error":{"foo":1,"bar":"baz","error":"failed to execute something: error","errorVerbose":"omitted..."}}